ids-enterprise-wc 1.15.9-patch.11 → 1.15.9-patch.12
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/chunks/{ids-chunk-UD2BRVFR-full.js → ids-chunk-5GV6Y3WM-full.js} +2 -2
- package/chunks/{ids-chunk-4MSGTAOV-full.js → ids-chunk-5XYPHVID-full.js} +1 -1
- package/chunks/{ids-chunk-4MSGTAOV-full.js.map → ids-chunk-5XYPHVID-full.js.map} +2 -2
- package/chunks/{ids-chunk-HR4HAGMR-full.js → ids-chunk-A5IOTIO6-full.js} +163 -11
- package/chunks/ids-chunk-A5IOTIO6-full.js.map +7 -0
- package/chunks/{ids-chunk-SPEJ6VZH-full.js → ids-chunk-EGZI5ZV3-full.js} +9 -2
- package/chunks/ids-chunk-EGZI5ZV3-full.js.map +7 -0
- package/chunks/{ids-chunk-7NHSNXHZ-full.js → ids-chunk-FV5W3K6S-full.js} +2 -2
- package/components/ids-app-menu/ids-app-menu.css +132 -23
- package/components/ids-data-grid/ids-data-grid-cell.js +1 -1
- package/components/ids-data-grid/ids-data-grid-column.d.ts +2 -0
- package/components/ids-data-grid/ids-data-grid-column.js +1 -1
- package/components/ids-data-grid/ids-data-grid-filters.js +2 -2
- package/components/ids-data-grid/ids-data-grid-row.js +2 -2
- package/components/ids-data-grid/ids-data-grid.css +54 -1
- package/components/ids-data-grid/ids-data-grid.d.ts +18 -0
- package/components/ids-data-grid/ids-data-grid.js +5 -5
- package/components/ids-date-picker/ids-date-picker.css +59 -96
- package/components/ids-hierarchy/ids-hierarchy.css +14 -117
- package/components/ids-hyperlink/ids-hyperlink.css +15 -188
- package/components/ids-menu/ids-menu.css +13 -3
- package/components/ids-swappable/ids-swappable.css +19 -84
- package/components/ids-tabs/ids-tabs.css +470 -264
- package/components/ids-tag/ids-tag.css +8 -152
- package/components/ids-time-picker/ids-time-picker.css +67 -49
- package/custom-elements.json +74 -0
- package/enterprise-wc.all.iife.js +166 -7
- package/enterprise-wc.all.iife.js.map +2 -2
- package/enterprise-wc.js +5 -5
- package/package.json +1 -1
- package/vscode.html-custom-data.json +1 -1
- package/chunks/ids-chunk-HR4HAGMR-full.js.map +0 -7
- package/chunks/ids-chunk-SPEJ6VZH-full.js.map +0 -7
- /package/chunks/{ids-chunk-UD2BRVFR-full.js.map → ids-chunk-5GV6Y3WM-full.js.map} +0 -0
- /package/chunks/{ids-chunk-7NHSNXHZ-full.js.map → ids-chunk-FV5W3K6S-full.js.map} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import {
|
|
6
6
|
IdsDataGridCell
|
|
7
|
-
} from "./ids-chunk-
|
|
7
|
+
} from "./ids-chunk-EGZI5ZV3-full.js";
|
|
8
8
|
import {
|
|
9
9
|
customElement
|
|
10
10
|
} from "./ids-chunk-KHLMW76I-full.js";
|
|
@@ -626,4 +626,4 @@ IdsDataGridRow = __decorateClass([
|
|
|
626
626
|
export {
|
|
627
627
|
IdsDataGridRow
|
|
628
628
|
};
|
|
629
|
-
//# sourceMappingURL=ids-chunk-
|
|
629
|
+
//# sourceMappingURL=ids-chunk-5GV6Y3WM-full.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../src/components/ids-data-grid/ids-data-grid-column.ts"],
|
|
4
|
-
"sourcesContent": ["import { type IdsColorValue } from '../../utils/ids-color-utils/ids-color-utils';\nimport type IdsDataGrid from './ids-data-grid';\nimport { IdsDataGridEditor } from './ids-data-grid-editors';\n\ntype IdsDateNumberOptions = Omit<Intl.DateTimeFormatOptions, 'localeMatcher'> & Omit<Intl.NumberFormatOptions, 'localeMatcher'> & {\n localeMatcher?: 'best fit' | 'lookup';\n};\n\nexport interface IdsDataGridColumnFormatOptions extends IdsDateNumberOptions {\n /* Set the style of the number */\n style?: 'decimal' | 'currency' | 'percent' | 'unit' | any;\n /* Sets the incoming locale */\n locale?: string;\n /** Sets the group (thousands) seperator (to something outside the current locale) */\n group?: string;\n /** Sets Intl.NumberFormat option to use grouping */\n useGrouping?: boolean;\n /** Sets the decimal seperator (to something outside the current locale) */\n decimal?: string;\n /** Date format to use for parsing ect */\n dateFormat?: string;\n /** Date format to use for parsing ect (more generic) */\n format?: string;\n /** legacy pattern for date formats */\n pattern?: string;\n /** Tag for the picker that it shows time */\n showTime?: boolean;\n}\n\nexport interface IdsDataGridColumnGroup {\n /* Set the id for the column group object */\n id?: string;\n /* Set the title/name for the column group */\n name?: string;\n /* Set the number of columns to span */\n colspan: number,\n /** Align the column text to either `left`, `center` or `right` */\n align?: string;\n /** Name of the header icon to use for formatters that support it */\n headerIcon?: string;\n /** Sets the header icon tooltip content */\n headerIconTooltip?: string;\n}\n\nexport interface IdsDataGridTooltipCallback {\n /* Column id */\n columnId?: string;\n /* Column data */\n columnData?: any;\n /* Column index */\n columnIndex?: number;\n /* Column group id */\n columnGroupId?: string;\n /* Column group data */\n columnGroupData?: any;\n /* Column group index */\n columnGroupIndex?: number;\n /* Field data */\n fieldData?: any;\n /* The grid api object */\n grid?: any;\n /* Is header group */\n isHeaderGroup?: boolean;\n /* Row data */\n rowData?: any;\n /* Row index */\n rowIndex?: number,\n /* The current text content */\n text?: string;\n /* Type of tooltip as unique identifier */\n type?: string;\n}\n\nexport interface IdsDataGridDatePickerOptions {\n /** Option to show today or not (for date type filters) */\n showToday?: boolean;\n /** Option to show apply button or not (for date type filters) */\n showApply?: boolean;\n /** Option to show cancel button or not (for date type filters) */\n showCancel?: boolean;\n /** Option to show clear button or not (for date type filters) */\n showClear?: boolean;\n /** First day of the week (for date type filters) */\n firstDayOfWeek?: number;\n /** Whether or not to show week numbers in the picklist (for date type filters) */\n showPicklistWeek?: boolean;\n /** Whether or not to show a list of months in the picklist (for date type filters) */\n showPicklistMonth?: boolean;\n /** Whether or not to show a list of years in the picklist (for date type filters) */\n showPicklistYear?: boolean;\n /** Show week numbers in front of each week of date picker (for date type filters) */\n showWeekNumbers?: boolean;\n /** Set whether or not to show current time in the time picker dropdowns */\n useCurrentTime?: boolean;\n /** Whether or not the component should be a range picker */\n useRange?: boolean;\n}\n\nexport interface IdsDataGridTooltipOptions {\n /* The tooltip placement */\n placement?: 'top' | 'right' | 'bottom' | 'left'\n /* Sets tooltip edge horizontal space */\n x?: number;\n /* Sets tooltip edge vertical space */\n y?: number;\n /* The header tooltip placement */\n headerPlacement?: 'top' | 'right' | 'bottom' | 'left';\n /* Sets tooltip edge horizontal space */\n headerX?: number;\n /* Sets tooltip edge vertical space */\n headerY?: number;\n /* The header icon tooltip placement */\n headerIconPlacement?: 'top' | 'right' | 'bottom' | 'left';\n /* Sets tooltip edge horizontal space */\n headerIconX?: number;\n /* Sets tooltip edge vertical space */\n headerIconY?: number;\n /* The filter button tooltip placement */\n filterButtonPlacement?: 'top' | 'right' | 'bottom' | 'left';\n /* Sets tooltip edge horizontal space */\n filterButtonX?: number;\n /* Sets tooltip edge vertical space */\n filterButtonY?: number;\n}\n\nexport interface IdsDataGridEditorValidation {\n /* Custom validation function */\n check: (input: any) => boolean;\n /* Validation error message */\n message: string;\n /** Validation Message Translation key */\n messageId?: string;\n /* Validation rul id */\n id: string;\n}\n\nexport interface IdsDataGridHeaderTextName {\n /** The header text for one line */\n text: string;\n /** The font style to use */\n emphasis?: 'normal' | 'subtle';\n}\n\nexport interface IdsDataGridColumn {\n /** The columns unique id */\n id: string;\n /** The columns name */\n name?: string | Array<IdsDataGridHeaderTextName>;\n /** The columns field in the array to use */\n field?: string;\n /** The subsitute text to use (for hyperlink and some formatters) */\n text?: string | ((row: number, value: any, column: IdsDataGridColumn, index: Record<string, any>) => string | undefined);\n /** Max value of a range */\n max?: number;\n /** Mininum value of a range */\n min?: number;\n /** Adds expand/collapse icon to a column */\n showHeaderExpander?: boolean;\n /** Allow column sorting */\n sortable?: boolean;\n /** Allow column hide/show */\n hideable?: boolean;\n /** Allow column resizing */\n resizable?: boolean;\n /** Adds a drag indicator and allows the columns to be moved by dragging */\n reorderable?: boolean;\n /** Set a column width in pixel or percent */\n width?: number | string;\n /** When width is 'max-content', controls text measurement: true uses raw values, false (default) uses formatted values */\n useValueForSizing?: boolean;\n /** Set a min column width for resizing */\n minWidth?: number | string;\n /** Set a max column width for resizing */\n maxWidth?: number | string;\n /** Hide a column to be shown later */\n hidden?: boolean;\n /** Column Formatter Function */\n formatter?: (\n rowData: Record<string, unknown>, columnData: IdsDataGridColumn, index: number, parentDataGrid: IdsDataGrid\n ) => string;\n /** Set the column to checked or unchecked (filtering) */\n isChecked?: (value: boolean) => boolean;\n /** If column is selected */\n isSelected?: boolean;\n /** Enable Href / Link Columns */\n href?: string | ((rowData: Record<string, unknown>, columnData: IdsDataGridColumn) => string);\n /** Fires for clickable formatters (like button) */\n click?: (rowData: Record<string, unknown>, columnData: IdsDataGridColumn, event: MouseEvent) => void;\n /** Fires for menuId formatters (like button) */\n selected?: (rowData: Record<string, unknown>, columnData: IdsDataGridColumn, event: CustomEvent) => void;\n /** Selector for menu id */\n menuId?: string;\n /** Get the color dynamically from a function or as text */\n // eslint-disable-next-line max-len\n color?: IdsColorValue | ((row: number, value: any, column: IdsDataGridColumn, index: Record<string, any>) => string | undefined);\n /** Suppress the ids-color tooltip */\n suppressColorTooltip?: boolean;\n /** Get the size dynamically from a function or as text */\n size?: string | ((row: number, value: any, column: IdsDataGridColumn, index: Record<string, any>) => string | undefined);\n /** Options to pass to the formatter */\n formatOptions?: IdsDataGridColumnFormatOptions;\n /** Column Filter to use */\n filterType?: string | any;\n /** Column Filter options to show */\n filterConditions?: any[];\n /** Options to pass to the filter */\n filterOptions?: {\n /** The columns unique id */\n columnId?: string;\n /** Define a custom id for the inputs */\n customId?: string | ((columnData: IdsDataGridColumn) => string);\n /** The label in the filter */\n label?: string;\n /** The size of the input field */\n size?: string;\n /** The filter type */\n type?: string;\n /** Disable the filter */\n disabled?: boolean;\n /** Make the filter readonly */\n readonly?: boolean;\n /** Date formation to show (for date type filters) */\n format?: string;\n /** Placeholder to show for empty inputs */\n placeholder?: string;\n /** The interval between minutes (for time type filters) */\n minuteInterval?: number;\n /** The interval between seconds (for time type filters) */\n secondInterval?: number;\n /** Sets the auto select attribute (for time type filters) */\n autoselect?: boolean;\n /** Sets the auto update attribute (for time type filters) */\n autoupdate?: boolean;\n /** If the filter type is \"contents\" lets you set a blank string to a text value (matched by ID) */\n notFilteredItem?: { value: string, label: string }\n /** For filter type input, sets the text to all upper case when typed */\n uppercase?: boolean;\n /** For filter type input, sets the text max lenght when typed */\n maxlength?: number;\n /** Adds the autocomplete attribute to the input element allowing for browser autocomplete */\n browserAutocomplete?: string\n } & IdsDataGridDatePickerOptions;\n /** Lets you make a dynamic filter function */\n filterFunction?: any;\n /** True if the row is selected */\n rowSelected?: boolean;\n /** True if the row is activated */\n rowActivated?: boolean;\n /** Sets a custom css-part for styling the cell */\n cssPart?: string | ((args: object) => string);\n /** Sets a custom css-part for styling cell when it's selected */\n cellSelectedCssPart?: string | ((args: object) => string);\n /** Pass the type option to formatters that support it */\n type?: string;\n /** Disable the column with a boolean or a dynamic function */\n disabled?: boolean | ((row: number, value: any, col: IdsDataGridColumn, item: Record<string, any>) => boolean);\n /** Make the column readonly with a boolean or a dynamic function */\n readonly?: boolean | ((row: number, value: any, col: IdsDataGridColumn, item: Record<string, any>) => boolean);\n /** Column will not be styled as readonly when the readonly property is true */\n excludeReadonlyStyling?: boolean;\n /** Name of the icon too use for formatters that support it */\n icon?: string | ((row: number, value: any, column: IdsDataGridColumn, index: Record<string, any>) => string | undefined);\n /** Name of the header icon */\n headerIcon?: string;\n /** Align the column to either `left`, `center` or `right` */\n align?: string;\n /** Separately align the filter row contents to either `left`, `center`, or `right` */\n filterAlign?: string;\n /** Seperately align the header to either `left`, `center` or `right` */\n headerAlign?: string;\n /** Freeze the columns to either the `left` or `right` sides */\n frozen?: string;\n /** If a tree or expandable row will set the state of the row */\n rowExpanded?: boolean;\n /** Sets the tooltip options */\n tooltipOptions?: IdsDataGridTooltipOptions | ((options: IdsDataGridTooltipCallback) => IdsDataGridTooltipOptions);\n /** Sets the tooltip content */\n tooltip?: string | ((options: IdsDataGridTooltipCallback) => string | Promise<string>);\n /** Sets the header tooltip content */\n headerTooltip?: string;\n /** Sets the header icon tooltip content */\n headerIconTooltip?: string;\n /** Sets the header filter button tooltip content */\n filterButtonTooltip?: string;\n /** Sets the tooltip css part */\n tooltipCssPart?: string | ((options: IdsDataGridTooltipCallback) => string);\n /** Sets the header tooltip css part */\n headerTooltipCssPart?: string;\n /** Sets the header icon tooltip css part */\n headerIconTooltipCssPart?: string;\n /** Sets the header filter button tooltip css part */\n filterButtonTooltipCssPart?: string;\n /** Sets the hyperlink behavior. options: 'default' | 'no-select' | 'de-select' | 'none' */\n hyperlinkBehavior?: string;\n /** Sets the character count to reveal when cell value is masked */\n textMaskCharacter?: number;\n /** Setup an editor */\n editor?: {\n type: 'input' | 'date' | 'time' | 'checkbox' | 'dropdown' | 'datepicker' | 'timepicker' | 'tree' | 'lookup' | 'password',\n inline?: boolean,\n /** If true, the editor icon will always be visible */\n showEditorIcons?: boolean;\n editor?: IdsDataGridEditor,\n editorSettings?: Record<string, unknown>,\n editorValidation?: IdsDataGridEditorValidation,\n },\n /** If a true will set the text to uppercase */\n uppercase?: boolean | 'true' | ((type: 'body-cell' | 'header-cell', col: IdsDataGridColumn, index?: number, value?: any, item?: Record<string, any>) => boolean);\n /** If set to false the column will not be exported in exportToExcel functionality */\n exportable?: boolean\n /** Function to transform values during export */\n exportFormatter?: (value: unknown, rowData?: Record<any, unknown>) => unknown;\n /** If true, shows a red asterisk (*) next to the column header text to indicate a required field */\n required?: boolean;\n}\n\nexport const DEFAULT_COLUMN_MIN_WIDTH = 12;\n"],
|
|
5
|
-
"mappings": ";;;;;;
|
|
4
|
+
"sourcesContent": ["import { type IdsColorValue } from '../../utils/ids-color-utils/ids-color-utils';\nimport type IdsDataGrid from './ids-data-grid';\nimport { IdsDataGridEditor } from './ids-data-grid-editors';\n\ntype IdsDateNumberOptions = Omit<Intl.DateTimeFormatOptions, 'localeMatcher'> & Omit<Intl.NumberFormatOptions, 'localeMatcher'> & {\n localeMatcher?: 'best fit' | 'lookup';\n};\n\nexport interface IdsDataGridColumnFormatOptions extends IdsDateNumberOptions {\n /* Set the style of the number */\n style?: 'decimal' | 'currency' | 'percent' | 'unit' | any;\n /* Sets the incoming locale */\n locale?: string;\n /** Sets the group (thousands) seperator (to something outside the current locale) */\n group?: string;\n /** Sets Intl.NumberFormat option to use grouping */\n useGrouping?: boolean;\n /** Sets the decimal seperator (to something outside the current locale) */\n decimal?: string;\n /** Date format to use for parsing ect */\n dateFormat?: string;\n /** Date format to use for parsing ect (more generic) */\n format?: string;\n /** legacy pattern for date formats */\n pattern?: string;\n /** Tag for the picker that it shows time */\n showTime?: boolean;\n}\n\nexport interface IdsDataGridColumnGroup {\n /* Set the id for the column group object */\n id?: string;\n /* Set the title/name for the column group */\n name?: string;\n /* Set the number of columns to span */\n colspan: number,\n /** Align the column text to either `left`, `center` or `right` */\n align?: string;\n /** Name of the header icon to use for formatters that support it */\n headerIcon?: string;\n /** Sets the header icon tooltip content */\n headerIconTooltip?: string;\n}\n\nexport interface IdsDataGridTooltipCallback {\n /* Column id */\n columnId?: string;\n /* Column data */\n columnData?: any;\n /* Column index */\n columnIndex?: number;\n /* Column group id */\n columnGroupId?: string;\n /* Column group data */\n columnGroupData?: any;\n /* Column group index */\n columnGroupIndex?: number;\n /* Field data */\n fieldData?: any;\n /* The grid api object */\n grid?: any;\n /* Is header group */\n isHeaderGroup?: boolean;\n /* Row data */\n rowData?: any;\n /* Row index */\n rowIndex?: number,\n /* The current text content */\n text?: string;\n /* Type of tooltip as unique identifier */\n type?: string;\n}\n\nexport interface IdsDataGridDatePickerOptions {\n /** Option to show today or not (for date type filters) */\n showToday?: boolean;\n /** Option to show apply button or not (for date type filters) */\n showApply?: boolean;\n /** Option to show cancel button or not (for date type filters) */\n showCancel?: boolean;\n /** Option to show clear button or not (for date type filters) */\n showClear?: boolean;\n /** First day of the week (for date type filters) */\n firstDayOfWeek?: number;\n /** Whether or not to show week numbers in the picklist (for date type filters) */\n showPicklistWeek?: boolean;\n /** Whether or not to show a list of months in the picklist (for date type filters) */\n showPicklistMonth?: boolean;\n /** Whether or not to show a list of years in the picklist (for date type filters) */\n showPicklistYear?: boolean;\n /** Show week numbers in front of each week of date picker (for date type filters) */\n showWeekNumbers?: boolean;\n /** Set whether or not to show current time in the time picker dropdowns */\n useCurrentTime?: boolean;\n /** Whether or not the component should be a range picker */\n useRange?: boolean;\n}\n\nexport interface IdsDataGridTooltipOptions {\n /* The tooltip placement */\n placement?: 'top' | 'right' | 'bottom' | 'left'\n /* Sets tooltip edge horizontal space */\n x?: number;\n /* Sets tooltip edge vertical space */\n y?: number;\n /* The header tooltip placement */\n headerPlacement?: 'top' | 'right' | 'bottom' | 'left';\n /* Sets tooltip edge horizontal space */\n headerX?: number;\n /* Sets tooltip edge vertical space */\n headerY?: number;\n /* The header icon tooltip placement */\n headerIconPlacement?: 'top' | 'right' | 'bottom' | 'left';\n /* Sets tooltip edge horizontal space */\n headerIconX?: number;\n /* Sets tooltip edge vertical space */\n headerIconY?: number;\n /* The filter button tooltip placement */\n filterButtonPlacement?: 'top' | 'right' | 'bottom' | 'left';\n /* Sets tooltip edge horizontal space */\n filterButtonX?: number;\n /* Sets tooltip edge vertical space */\n filterButtonY?: number;\n}\n\nexport interface IdsDataGridEditorValidation {\n /* Custom validation function */\n check: (input: any) => boolean;\n /* Validation error message */\n message: string;\n /** Validation Message Translation key */\n messageId?: string;\n /* Validation rul id */\n id: string;\n}\n\nexport interface IdsDataGridHeaderTextName {\n /** The header text for one line */\n text: string;\n /** The font style to use */\n emphasis?: 'normal' | 'subtle';\n}\n\nexport interface IdsDataGridColumn {\n /** The columns unique id */\n id: string;\n /** The columns name */\n name?: string | Array<IdsDataGridHeaderTextName>;\n /** The columns field in the array to use */\n field?: string;\n /** The subsitute text to use (for hyperlink and some formatters) */\n text?: string | ((row: number, value: any, column: IdsDataGridColumn, index: Record<string, any>) => string | undefined);\n /** Max value of a range */\n max?: number;\n /** Mininum value of a range */\n min?: number;\n /** Adds expand/collapse icon to a column */\n showHeaderExpander?: boolean;\n /** Allow column sorting */\n sortable?: boolean;\n /** Allow column hide/show */\n hideable?: boolean;\n /** Allow column resizing */\n resizable?: boolean;\n /** Adds a drag indicator and allows the columns to be moved by dragging */\n reorderable?: boolean;\n /** Set a column width in pixel or percent */\n width?: number | string;\n /** When width is 'max-content', controls text measurement: true uses raw values, false (default) uses formatted values */\n useValueForSizing?: boolean;\n /** Set a min column width for resizing */\n minWidth?: number | string;\n /** Set a max column width for resizing */\n maxWidth?: number | string;\n /** Hide a column to be shown later */\n hidden?: boolean;\n /** Column Formatter Function */\n formatter?: (\n rowData: Record<string, unknown>, columnData: IdsDataGridColumn, index: number, parentDataGrid: IdsDataGrid\n ) => string;\n /** Set the column to checked or unchecked (filtering) */\n isChecked?: (value: boolean) => boolean;\n /** If column is selected */\n isSelected?: boolean;\n /** Enable Href / Link Columns */\n href?: string | ((rowData: Record<string, unknown>, columnData: IdsDataGridColumn) => string);\n /** Fires for clickable formatters (like button) */\n click?: (rowData: Record<string, unknown>, columnData: IdsDataGridColumn, event: MouseEvent) => void;\n /** Fires for menuId formatters (like button) */\n selected?: (rowData: Record<string, unknown>, columnData: IdsDataGridColumn, event: CustomEvent) => void;\n /** Selector for menu id */\n menuId?: string;\n /** Get the color dynamically from a function or as text */\n // eslint-disable-next-line max-len\n color?: IdsColorValue | ((row: number, value: any, column: IdsDataGridColumn, index: Record<string, any>) => string | undefined);\n /** Suppress the ids-color tooltip */\n suppressColorTooltip?: boolean;\n /** Get the size dynamically from a function or as text */\n size?: string | ((row: number, value: any, column: IdsDataGridColumn, index: Record<string, any>) => string | undefined);\n /** Options to pass to the formatter */\n formatOptions?: IdsDataGridColumnFormatOptions;\n /** Column Filter to use */\n filterType?: string | any;\n /** Column Filter options to show */\n filterConditions?: any[];\n /** Options to pass to the filter */\n filterOptions?: {\n /** The columns unique id */\n columnId?: string;\n /** Define a custom id for the inputs */\n customId?: string | ((columnData: IdsDataGridColumn) => string);\n /** The label in the filter */\n label?: string;\n /** The size of the input field */\n size?: string;\n /** The filter type */\n type?: string;\n /** Disable the filter */\n disabled?: boolean;\n /** Make the filter readonly */\n readonly?: boolean;\n /** Date formation to show (for date type filters) */\n format?: string;\n /** Placeholder to show for empty inputs */\n placeholder?: string;\n /** The interval between minutes (for time type filters) */\n minuteInterval?: number;\n /** The interval between seconds (for time type filters) */\n secondInterval?: number;\n /** Sets the auto select attribute (for time type filters) */\n autoselect?: boolean;\n /** Sets the auto update attribute (for time type filters) */\n autoupdate?: boolean;\n /** If the filter type is \"contents\" lets you set a blank string to a text value (matched by ID) */\n notFilteredItem?: { value: string, label: string }\n /** For filter type input, sets the text to all upper case when typed */\n uppercase?: boolean;\n /** For filter type input, sets the text max lenght when typed */\n maxlength?: number;\n /** Adds the autocomplete attribute to the input element allowing for browser autocomplete */\n browserAutocomplete?: string\n } & IdsDataGridDatePickerOptions;\n /** Lets you make a dynamic filter function */\n filterFunction?: any;\n /** True if the row is selected */\n rowSelected?: boolean;\n /** True if the row is activated */\n rowActivated?: boolean;\n /** Sets a custom css-part for styling the cell */\n cssPart?: string | ((args: object) => string);\n /** Sets a custom css-part for styling cell when it's selected */\n cellSelectedCssPart?: string | ((args: object) => string);\n /** Pass the type option to formatters that support it */\n type?: string;\n /** Disable the column with a boolean or a dynamic function */\n disabled?: boolean | ((row: number, value: any, col: IdsDataGridColumn, item: Record<string, any>) => boolean);\n /** Make the column readonly with a boolean or a dynamic function */\n readonly?: boolean | ((row: number, value: any, col: IdsDataGridColumn, item: Record<string, any>) => boolean);\n /** Column will not be styled as readonly when the readonly property is true */\n excludeReadonlyStyling?: boolean;\n /** Name of the icon too use for formatters that support it */\n icon?: string | ((row: number, value: any, column: IdsDataGridColumn, index: Record<string, any>) => string | undefined);\n /** Name of the header icon */\n headerIcon?: string;\n /** Align the column to either `left`, `center` or `right` */\n align?: string;\n /** Separately align the filter row contents to either `left`, `center`, or `right` */\n filterAlign?: string;\n /** Seperately align the header to either `left`, `center` or `right` */\n headerAlign?: string;\n /** Freeze the columns to either the `left` or `right` sides */\n frozen?: string;\n /** If a tree or expandable row will set the state of the row */\n rowExpanded?: boolean;\n /** Sets the tooltip options */\n tooltipOptions?: IdsDataGridTooltipOptions | ((options: IdsDataGridTooltipCallback) => IdsDataGridTooltipOptions);\n /** Sets the tooltip content */\n tooltip?: string | ((options: IdsDataGridTooltipCallback) => string | Promise<string>);\n /** Sets the header tooltip content */\n headerTooltip?: string;\n /** Sets the header icon tooltip content */\n headerIconTooltip?: string;\n /** Sets the header filter button tooltip content */\n filterButtonTooltip?: string;\n /** Sets the tooltip css part */\n tooltipCssPart?: string | ((options: IdsDataGridTooltipCallback) => string);\n /** Sets the header tooltip css part */\n headerTooltipCssPart?: string;\n /** Sets the header icon tooltip css part */\n headerIconTooltipCssPart?: string;\n /** Sets the header filter button tooltip css part */\n filterButtonTooltipCssPart?: string;\n /** Sets the hyperlink behavior. options: 'default' | 'no-select' | 'de-select' | 'none' */\n hyperlinkBehavior?: string;\n /** Sets the character count to reveal when cell value is masked */\n textMaskCharacter?: number;\n /** Setup an editor */\n editor?: {\n type: 'input' | 'date' | 'time' | 'checkbox' | 'dropdown' | 'datepicker' | 'timepicker' | 'tree' | 'lookup' | 'password',\n inline?: boolean,\n /** If true, the editor icon will always be visible */\n showEditorIcons?: boolean;\n editor?: IdsDataGridEditor,\n editorSettings?: Record<string, unknown>,\n editorValidation?: IdsDataGridEditorValidation,\n },\n /** If a true will set the text to uppercase */\n uppercase?: boolean | 'true' | ((type: 'body-cell' | 'header-cell', col: IdsDataGridColumn, index?: number, value?: any, item?: Record<string, any>) => boolean);\n /** If true, the cell will expand to show full multi-line content when activated (clicked/focused) */\n expandOnActivate?: boolean;\n /** If set to false the column will not be exported in exportToExcel functionality */\n exportable?: boolean\n /** Function to transform values during export */\n exportFormatter?: (value: unknown, rowData?: Record<any, unknown>) => unknown;\n /** If true, shows a red asterisk (*) next to the column header text to indicate a required field */\n required?: boolean;\n}\n\nexport const DEFAULT_COLUMN_MIN_WIDTH = 12;\n"],
|
|
5
|
+
"mappings": ";;;;;;AA8TO,IAAM,2BAA2B;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|