@iris-ui-kit/vue 0.2.28 → 0.2.29
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/admin.cjs +3 -3
- package/dist/admin.cjs.map +1 -1
- package/dist/admin.js +3 -3
- package/dist/behaviors.d.cts +2 -2
- package/dist/behaviors.d.ts +2 -2
- package/dist/{chunk-IAG64CHL.js → chunk-BVKOOTXG.js} +3 -3
- package/dist/chunk-BVKOOTXG.js.map +1 -0
- package/dist/{chunk-AMNHDYFY.js → chunk-EZUDM4TM.js} +5 -5
- package/dist/chunk-EZUDM4TM.js.map +1 -0
- package/dist/{chunk-UPC4GN3F.js → chunk-KAOPZNZF.js} +3 -3
- package/dist/chunk-KAOPZNZF.js.map +1 -0
- package/dist/{chunk-MO7AAXA6.js → chunk-KSJZLFAT.js} +6 -6
- package/dist/chunk-KSJZLFAT.js.map +1 -0
- package/dist/{chunk-XCNCIG2I.js → chunk-LQ2YAOYR.js} +11 -10
- package/dist/chunk-LQ2YAOYR.js.map +1 -0
- package/dist/{chunk-ZTPIXL7Q.js → chunk-OH4YSGFK.js} +3 -3
- package/dist/chunk-OH4YSGFK.js.map +1 -0
- package/dist/{chunk-TCAXRWT6.js → chunk-W3JMJVEK.js} +3 -3
- package/dist/chunk-W3JMJVEK.js.map +1 -0
- package/dist/{chunk-LWABTQCB.js → chunk-X5UOY4IV.js} +13 -9
- package/dist/chunk-X5UOY4IV.js.map +1 -0
- package/dist/{chunk-3547J6IN.js → chunk-X7Y35UUL.js} +3 -3
- package/dist/{chunk-3547J6IN.js.map → chunk-X7Y35UUL.js.map} +1 -1
- package/dist/error-boundary.cjs +1 -1
- package/dist/error-boundary.cjs.map +1 -1
- package/dist/error-boundary.js +2 -2
- package/dist/form.cjs +1 -1
- package/dist/form.cjs.map +1 -1
- package/dist/form.js +1 -1
- package/dist/i18n.cjs +1 -1
- package/dist/i18n.cjs.map +1 -1
- package/dist/i18n.js +1 -1
- package/dist/index.cjs +3456 -861
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +723 -283
- package/dist/index.d.ts +723 -283
- package/dist/index.js +3432 -846
- package/dist/index.js.map +1 -1
- package/dist/modal-utils.cjs +9 -8
- package/dist/modal-utils.cjs.map +1 -1
- package/dist/modal-utils.js +1 -1
- package/dist/provider.cjs +4 -4
- package/dist/provider.cjs.map +1 -1
- package/dist/provider.js +4 -4
- package/dist/skeletons.cjs +11 -7
- package/dist/skeletons.cjs.map +1 -1
- package/dist/skeletons.d.cts +1 -1
- package/dist/skeletons.d.ts +1 -1
- package/dist/skeletons.js +2 -2
- package/dist/skins.cjs +1 -1
- package/dist/skins.cjs.map +1 -1
- package/dist/skins.js +1 -1
- package/dist/theme.cjs +1 -1
- package/dist/theme.cjs.map +1 -1
- package/dist/theme.js +1 -1
- package/package.json +11 -11
- package/dist/chunk-AMNHDYFY.js.map +0 -1
- package/dist/chunk-IAG64CHL.js.map +0 -1
- package/dist/chunk-LWABTQCB.js.map +0 -1
- package/dist/chunk-MO7AAXA6.js.map +0 -1
- package/dist/chunk-TCAXRWT6.js.map +0 -1
- package/dist/chunk-UPC4GN3F.js.map +0 -1
- package/dist/chunk-XCNCIG2I.js.map +0 -1
- package/dist/chunk-ZTPIXL7Q.js.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as vue from 'vue';
|
|
2
2
|
import { ShallowRef, Ref, VNode, PropType, ComputedRef, InjectionKey } from 'vue';
|
|
3
3
|
import * as _iris_ui_kit_core from '@iris-ui-kit/core';
|
|
4
|
-
import { ReadonlyStore, Store, RealtimeHandlers, RealtimeOptions, RealtimeStatus, ResilientFetcherOptions, ResilientFetcher, DisposableScope, Variant, Size, Placement, FloatingMachine, SpreadsheetXmlOptions } from '@iris-ui-kit/core';
|
|
5
|
-
export { AdminPreferences, AdminPreferencesState, Align, DataSourceConfig, DataSourceController, DataSourceMode, DataSourceMutateOptions, DataSourceQuery, DataSourceState, DataViewColumn, FloatingEvent, FloatingMachine, FloatingState, GroupedViewConfig, GroupedViewState, GroupedViewStore, IrisHsva, PageItem as IrisPageItem, IrisRgba, Machine, MachineConfig, MachineEvent, MachineState, MutateOptions, NavNode, Placement, ResourceController, ResourceControllerConfig, ResourceQuery, ResourceState, RowMutateOptions, Side, Size, StateNode, Store, TabItem, TabsNav, TabsNavConfig, TabsNavState, Transition, Variant, addDays, addMonths, buildMonthMatrix, clamp01, clampDate, composeEventHandlers, createAdminPreferences, createClientDataSource, createClientFetcher, createDataSource, createFloatingMachine, createGroupedView, createMachine, createResourceController, createStore, createTabsNav, endOfMonth, filterNavByAccess, findNavNode, findNavPath, firstLeaf, flattenNav, formatLocalISO, formatMonthYear, generateId, getPageRange, getWeekdayNames, hexToRgba, hsvToRgb, hsvaToRgba, isBranch, isClosable, isOutOfRange, isSameDay, isSameMonth, localStorageAdminPreferencesStorage, mergeProps, nodeAllowsRoles, rgbToHex, rgbToHsv, rgbaToHsva, startOfDay, startOfMonth, visibleNav } from '@iris-ui-kit/core';
|
|
4
|
+
import { ReadonlyStore, Store, RealtimeHandlers, RealtimeOptions, RealtimeStatus, ResilientFetcherOptions, ResilientFetcher, DisposableScope, Variant, Size, Placement, FloatingMachine, TableViewConfig, TableTab, TableNamedView, TableViewSnapshot, SpreadsheetXmlOptions } from '@iris-ui-kit/core';
|
|
5
|
+
export { AdminPreferences, AdminPreferencesState, Align, DataSourceConfig, DataSourceController, DataSourceMode, DataSourceMutateOptions, DataSourceQuery, DataSourceState, DataViewColumn, FloatingEvent, FloatingMachine, FloatingState, GroupedViewConfig, GroupedViewState, GroupedViewStore, IrisHsva, PageItem as IrisPageItem, IrisRgba, Machine, MachineConfig, MachineEvent, MachineState, MutateOptions, NavNode, Placement, ResourceController, ResourceControllerConfig, ResourceQuery, ResourceState, RowMutateOptions, Side, Size, StateNode, Store, TabItem, TabsNav, TabsNavConfig, TabsNavState, Transition, Variant, addDays, addMonths, buildMonthMatrix, clamp01, clampDate, composeEventHandlers, createAdminPreferences, createClientDataSource, createClientFetcher, createDataSource, createFloatingMachine, createGroupedView, createMachine, createResourceController, createStore, createTabsNav, endOfMonth, filterNavByAccess, findNavNode, findNavPath, firstLeaf, flattenNav, formatLocalISO, formatMonthYear, generateId, getPageRange, getWeekdayNames, hexToRgba, hsvToRgb, hsvaToRgba, isBranch, isClosable, isOutOfRange, isSameDay, isSameMonth, localStorageAdminPreferencesStorage, mergeProps, nodeAllowsRoles, parseCsv, rgbToHex, rgbToHsv, rgbaToHsva, startOfDay, startOfMonth, visibleNav } from '@iris-ui-kit/core';
|
|
6
6
|
export { IrisThemeContext, IrisThemeKey, ThemeProvider, UseThemeReturn, useColorScheme, useDirection, useTheme, useThemeContext } from './theme.cjs';
|
|
7
7
|
export { ApplySkinResult, LoadSkinOptions, ResolvedSkin, Skin, SkinBootScriptConfig, SkinCatalog, SkinCatalogConfig, SkinEngine, SkinEngineConfig, SkinError, SkinErrorCode, SkinLookup, SkinManifest, SkinManifestEntry, SkinMode, SkinPatch, SkinRegistry, SkinResolutionError, SkinStorage, SkinTokenOverrides, applySkin, builtinSkins, createSkinCatalog, createSkinEngine, createSkinRegistry, darkSkin, lightSkin, loadSkin, localStorageSkinStorage, memorySkinStorage, renderSkinStyle, resolveSkin, skinBootScript, skinError, skinToCssEntries, validateSkin } from '@iris-ui-kit/skins';
|
|
8
8
|
export { IrisSkinContext, IrisSkinKey, SkinProvider, UseSkinReturn, useSkin, useSkinContext } from './skins.cjs';
|
|
@@ -4017,8 +4017,8 @@ declare const IrisResizer: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
4017
4017
|
}>, {
|
|
4018
4018
|
minWidth: number;
|
|
4019
4019
|
disabled: boolean;
|
|
4020
|
-
maxHeight: number;
|
|
4021
4020
|
minHeight: number;
|
|
4021
|
+
maxHeight: number;
|
|
4022
4022
|
handles: IrisResizerHandle[];
|
|
4023
4023
|
maxWidth: number;
|
|
4024
4024
|
keepAspect: boolean;
|
|
@@ -4231,13 +4231,157 @@ declare const IrisVirtualScroll: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
4231
4231
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
4232
4232
|
|
|
4233
4233
|
type IrisTableSortDirection = 'asc' | 'desc';
|
|
4234
|
+
/** Table row-density preset. */
|
|
4235
|
+
type IrisTableDensity = 'comfortable' | 'compact' | 'cozy';
|
|
4236
|
+
/** Clipboard range-copy options. Invalid runtime formats fall back to TSV. */
|
|
4237
|
+
interface IrisTableClipConfig {
|
|
4238
|
+
copy?: boolean;
|
|
4239
|
+
paste?: boolean;
|
|
4240
|
+
copyFormat?: 'tsv' | 'csv' | 'html';
|
|
4241
|
+
copyWithFormat?: boolean;
|
|
4242
|
+
}
|
|
4234
4243
|
interface IrisTableSortState {
|
|
4235
4244
|
key: string;
|
|
4236
4245
|
direction: IrisTableSortDirection;
|
|
4237
4246
|
}
|
|
4247
|
+
type IrisTableViewConfig = TableViewConfig;
|
|
4248
|
+
type IrisTableViewSnapshot = TableViewSnapshot;
|
|
4249
|
+
type IrisTableNamedView = TableNamedView<IrisTableViewSnapshot>;
|
|
4250
|
+
type IrisTableTab = TableTab;
|
|
4251
|
+
/** Params delivered to {@link IrisTableProxyConfig.query} (vxe proxyConfig parity). */
|
|
4252
|
+
interface IrisTableProxyQueryParams {
|
|
4253
|
+
/** 1-based page number. */
|
|
4254
|
+
page: number;
|
|
4255
|
+
pageSize: number;
|
|
4256
|
+
sort: IrisTableSortState | null;
|
|
4257
|
+
/**
|
|
4258
|
+
* Multi-column sort (multiSort mode), most-significant first. Only set in
|
|
4259
|
+
* multiSort mode — single mode keeps passing `sort`.
|
|
4260
|
+
*/
|
|
4261
|
+
sorts?: IrisTableSortState[];
|
|
4262
|
+
/** key → filter value (empty string = inactive, stripped by the controller). */
|
|
4263
|
+
filters: Record<string, string>;
|
|
4264
|
+
}
|
|
4265
|
+
/**
|
|
4266
|
+
* Server-side data proxy (vxe-grid proxyConfig parity, query slice). When set,
|
|
4267
|
+
* `data` is ignored: rows come from `query` (paged), the table renders a pager
|
|
4268
|
+
* below the body, and inline-edit write-back keeps working on a local copy.
|
|
4269
|
+
*/
|
|
4270
|
+
interface IrisTableProxyConfig<Row = Record<string, unknown>> {
|
|
4271
|
+
/** Fetch one page. 1-based `page`; `sort`/`sorts`/`filters` are the ACTIVE state. */
|
|
4272
|
+
query: (params: IrisTableProxyQueryParams) => Promise<{
|
|
4273
|
+
rows: Row[];
|
|
4274
|
+
total: number;
|
|
4275
|
+
}>;
|
|
4276
|
+
/** Auto-load the first page on mount (vxe autoLoad parity). Default true. */
|
|
4277
|
+
autoLoad?: boolean;
|
|
4278
|
+
/** Sort changes re-query the server instead of sorting client-side. Default false. */
|
|
4279
|
+
remoteSort?: boolean;
|
|
4280
|
+
/** Filter changes re-query the server instead of filtering client-side. Default false. */
|
|
4281
|
+
remoteFilter?: boolean;
|
|
4282
|
+
/** Rows per page. Default 10. */
|
|
4283
|
+
pageSize?: number;
|
|
4284
|
+
/** Initial page (1-based). Default 1. */
|
|
4285
|
+
defaultPage?: number;
|
|
4286
|
+
/** Fired when the page changes. */
|
|
4287
|
+
onPageChange?: (page: number, pageSize: number) => void;
|
|
4288
|
+
}
|
|
4289
|
+
/** One search-form field (vxe-grid formConfig items parity). */
|
|
4290
|
+
interface IrisTableFormField {
|
|
4291
|
+
/** Filter key — matched against column keys and the query `filters` map. */
|
|
4292
|
+
key: string;
|
|
4293
|
+
/** Visible field label. */
|
|
4294
|
+
label: string;
|
|
4295
|
+
/** Control kind. Default `'text'`. */
|
|
4296
|
+
type?: 'text' | 'select';
|
|
4297
|
+
/** Options when `type: 'select'`. */
|
|
4298
|
+
options?: Array<{
|
|
4299
|
+
value: string;
|
|
4300
|
+
label: string;
|
|
4301
|
+
}>;
|
|
4302
|
+
placeholder?: string;
|
|
4303
|
+
/** Initial value; reset restores it. */
|
|
4304
|
+
defaultValue?: string;
|
|
4305
|
+
}
|
|
4306
|
+
/** Search-form configuration (vxe-grid formConfig parity). */
|
|
4307
|
+
interface IrisTableFormConfig {
|
|
4308
|
+
fields: IrisTableFormField[];
|
|
4309
|
+
/** Label of the submit button. Defaults to the i18n `table.formSubmit` key. */
|
|
4310
|
+
submitText?: string;
|
|
4311
|
+
/** Label of the reset button. Defaults to the i18n `table.formReset` key. */
|
|
4312
|
+
resetText?: string;
|
|
4313
|
+
/** Fired on submit with every field's value (empty strings stripped). */
|
|
4314
|
+
onSearch?: (values: Record<string, string>) => void;
|
|
4315
|
+
/** Fired on reset with the reset values (defaults re-applied). */
|
|
4316
|
+
onReset?: (values: Record<string, string>) => void;
|
|
4317
|
+
}
|
|
4318
|
+
/** One custom toolbar action button (vxe toolbar buttons parity). */
|
|
4319
|
+
interface IrisTableToolbarButton {
|
|
4320
|
+
key: string;
|
|
4321
|
+
label: string;
|
|
4322
|
+
onClick: () => void;
|
|
4323
|
+
icon?: string;
|
|
4324
|
+
}
|
|
4325
|
+
/** Batch action (vxe toolbar batch parity): rendered while multi-selection is non-empty. */
|
|
4326
|
+
interface IrisTableToolbarBatch {
|
|
4327
|
+
label: string;
|
|
4328
|
+
onClick: (keys: Array<string | number>) => void;
|
|
4329
|
+
icon?: string;
|
|
4330
|
+
}
|
|
4331
|
+
/** Toolbar (vxe-grid toolbarConfig parity, minimal built-ins). */
|
|
4332
|
+
interface IrisTableToolbarConfig {
|
|
4333
|
+
title?: string;
|
|
4334
|
+
/** Fired by the refresh button. */
|
|
4335
|
+
onRefresh?: () => void;
|
|
4336
|
+
/** Fired by the export button (vxe toolbar export parity). */
|
|
4337
|
+
onExport?: () => void;
|
|
4338
|
+
/** Fired with parsed CSV rows by the import button. */
|
|
4339
|
+
onImport?: (rows: Array<Record<string, unknown>>) => void;
|
|
4340
|
+
/** Custom action buttons rendered after the built-ins. */
|
|
4341
|
+
buttons?: IrisTableToolbarButton[];
|
|
4342
|
+
/** Batch action rendered while `selectable === 'multi'` and rows are selected. */
|
|
4343
|
+
batch?: IrisTableToolbarBatch;
|
|
4344
|
+
}
|
|
4238
4345
|
type IrisTableEditor = 'text' | 'number';
|
|
4239
4346
|
/** Aggregation op for a column's summary/footer cell. */
|
|
4240
4347
|
type IrisTableAggregateOp = 'sum' | 'avg' | 'min' | 'max' | 'count';
|
|
4348
|
+
/** One checkbox option of a filterable column's filter panel (vxe filter-option parity). */
|
|
4349
|
+
interface IrisTableFilterOption {
|
|
4350
|
+
value: string;
|
|
4351
|
+
label: string;
|
|
4352
|
+
}
|
|
4353
|
+
/**
|
|
4354
|
+
* Per-column checked filter sets (vxe filter-multiple parity): column key →
|
|
4355
|
+
* values OR-matched against the raw `String(value)` of each row. Controlled
|
|
4356
|
+
* through `IrisTableProps.filterValues` / `onFilterValuesChange`.
|
|
4357
|
+
*/
|
|
4358
|
+
type IrisTableFilterValues = Record<string, string[]>;
|
|
4359
|
+
/**
|
|
4360
|
+
* Coordinates delivered to `IrisTableProps.contextMenu` callbacks (vxe
|
|
4361
|
+
* context-menu event params parity): the row/column under the cursor and its
|
|
4362
|
+
* grid position.
|
|
4363
|
+
*/
|
|
4364
|
+
interface IrisTableContextMenuParams<Row = Record<string, unknown>> {
|
|
4365
|
+
row: Row;
|
|
4366
|
+
column: IrisTableColumn<Row>;
|
|
4367
|
+
rowIndex: number;
|
|
4368
|
+
columnIndex: number;
|
|
4369
|
+
}
|
|
4370
|
+
/**
|
|
4371
|
+
* Right-click context menu (vxe-grid contextMenu parity). Opens on body leaf
|
|
4372
|
+
* cells only — header, seq, selection, expand, summary and footer cells never
|
|
4373
|
+
* open it. The menu floats at the cursor (virtual anchor), closes on Escape /
|
|
4374
|
+
* outside pointer-down / any scroll, and fires `onSelect` with the clicked
|
|
4375
|
+
* item's key and the cell's grid coordinates.
|
|
4376
|
+
*/
|
|
4377
|
+
interface IrisTableContextMenuConfig<Row = Record<string, unknown>> {
|
|
4378
|
+
items: (params: IrisTableContextMenuParams<Row>) => Array<{
|
|
4379
|
+
key: string;
|
|
4380
|
+
label: string;
|
|
4381
|
+
disabled?: boolean;
|
|
4382
|
+
}>;
|
|
4383
|
+
onSelect: (key: string, params: IrisTableContextMenuParams<Row>) => void;
|
|
4384
|
+
}
|
|
4241
4385
|
interface IrisTableColumn<Row = Record<string, unknown>> {
|
|
4242
4386
|
/** Stable unique column identifier; used for slot names and sort state. */
|
|
4243
4387
|
key: string;
|
|
@@ -4245,8 +4389,18 @@ interface IrisTableColumn<Row = Record<string, unknown>> {
|
|
|
4245
4389
|
title: string;
|
|
4246
4390
|
/** Path inside the row to read the default cell value from. Defaults to `key`. */
|
|
4247
4391
|
dataIndex?: keyof Row | string;
|
|
4392
|
+
/** Format the masked display value; copyWithFormat uses this string. */
|
|
4393
|
+
formatter?: (value: unknown, row: Row) => unknown;
|
|
4394
|
+
/** Mask the display/copy value before the formatter. */
|
|
4395
|
+
mask?: 'sensitive' | ((value: unknown) => string);
|
|
4396
|
+
/** Copy/export the raw value instead of the masked value (formatter copy remains masked). */
|
|
4397
|
+
exportRaw?: boolean;
|
|
4248
4398
|
/** Allow sorting by this column. */
|
|
4249
4399
|
sortable?: boolean;
|
|
4400
|
+
/** Show a header filter trigger + checkbox panel (vxe filterConfig parity). Filtering OR-matches the raw `String(value)` against the checked set. */
|
|
4401
|
+
filterable?: boolean;
|
|
4402
|
+
/** Checkbox options for the filter panel; a column without options can't filter. */
|
|
4403
|
+
filterOptions?: IrisTableFilterOption[];
|
|
4250
4404
|
/** Initial width (px or CSS length). */
|
|
4251
4405
|
width?: number | string;
|
|
4252
4406
|
/** Minimum width when resizing. Default 60. */
|
|
@@ -4316,374 +4470,659 @@ interface IrisTableVirtualOptions {
|
|
|
4316
4470
|
}
|
|
4317
4471
|
/** Map of column key → current width in px (after any resizing). */
|
|
4318
4472
|
type IrisTableColumnWidths = Record<string, number>;
|
|
4473
|
+
/** Column visibility map (vxe columnConfig.visible parity): column key → visible. Default true. */
|
|
4474
|
+
type IrisTableColumnVisibility = Record<string, boolean>;
|
|
4475
|
+
/** Params delivered to `IrisTableProps.spanMethod` (vxe span-method parity). */
|
|
4476
|
+
interface IrisTableSpanMethodParams {
|
|
4477
|
+
/** 0-based row index over the body rows. */
|
|
4478
|
+
rowIndex: number;
|
|
4479
|
+
/** 0-based leaf-column index (seq / selection / drag tracks excluded). */
|
|
4480
|
+
columnIndex: number;
|
|
4481
|
+
}
|
|
4482
|
+
/** Span result returned by `IrisTableProps.spanMethod` (vxe span-method parity): both dimensions default to 1; values > 1 make the cell span adjacent cells, which then render null. */
|
|
4483
|
+
interface IrisTableSpan {
|
|
4484
|
+
rowspan?: number;
|
|
4485
|
+
colspan?: number;
|
|
4486
|
+
}
|
|
4487
|
+
/** Column drag-sort (vxe columnDragConfig parity). Reorders leaf columns on drop; the parent owns columns (pass the reordered array back). Grouped headers are NOT supported (documented simplification). */
|
|
4488
|
+
interface IrisTableColumnDrag<Row = Record<string, unknown>> {
|
|
4489
|
+
/** Called with the reordered column array after a drop. */
|
|
4490
|
+
onReorder: (columns: IrisTableColumn<Row>[]) => void;
|
|
4491
|
+
}
|
|
4492
|
+
/** Row drag-sort (vxe rowDragConfig parity). Renders a drag handle per row; a drop reorders the table's LOCAL rows and reports through `onDataChange` (plus this callback, React parity). */
|
|
4493
|
+
interface IrisTableRowDrag<Row = Record<string, unknown>> {
|
|
4494
|
+
/** Called with the reordered row array after a drop. */
|
|
4495
|
+
onReorder: (rows: Row[]) => void;
|
|
4496
|
+
}
|
|
4497
|
+
/** Snapshot returned by `IrisTableExpose.getProxyInfo` (vxe getProxyInfo parity). */
|
|
4498
|
+
interface IrisTableProxyInfo {
|
|
4499
|
+
page: number;
|
|
4500
|
+
pageSize: number;
|
|
4501
|
+
total: number;
|
|
4502
|
+
}
|
|
4503
|
+
/** Imperative handle exposed by IrisTable (vxe loadData/reloadData/commitProxy/getProxyInfo parity, batch Y). */
|
|
4504
|
+
interface IrisTableExpose<Row = Record<string, unknown>> {
|
|
4505
|
+
/** Replace the live row list WITHOUT a query (vxe loadData parity): writes the local rows ref (proxy liveData / local override) and fires `onDataChange`. In proxy mode the controller's total/page stay unchanged until the next query. */
|
|
4506
|
+
loadData: (rows: Row[]) => void;
|
|
4507
|
+
/** Re-fetch the current page (vxe reloadData parity — alias of the proxy refetch). */
|
|
4508
|
+
reloadData: () => void;
|
|
4509
|
+
/** Merge params into the proxy query and fire the request (vxe commitProxy parity). */
|
|
4510
|
+
commitProxy: (overrides: Partial<IrisTableProxyQueryParams>) => void;
|
|
4511
|
+
/** Proxy state snapshot: page/pageSize/total; null without a proxy (vxe getProxyInfo parity). */
|
|
4512
|
+
getProxyInfo: () => IrisTableProxyInfo | null;
|
|
4513
|
+
/** Remove rows by row-key without issuing a query; missing keys are no-ops. */
|
|
4514
|
+
removeRows: (keys: Array<string | number>) => void;
|
|
4515
|
+
/** Snapshot (copy) of the currently filtered + sorted body rows. */
|
|
4516
|
+
getFilteredData: () => Row[];
|
|
4517
|
+
/** Serialize the current filtered/sorted row view using visible leaf columns. */
|
|
4518
|
+
exportCurrentViewCsv: () => string;
|
|
4519
|
+
/** Serialize the current view plus named bare row sets as CSV segments. */
|
|
4520
|
+
exportMultiCsv: () => string;
|
|
4521
|
+
/** Compare two exported-state JSON strings; never throws on invalid input. */
|
|
4522
|
+
compareStates: (a: string, b: string) => string;
|
|
4523
|
+
/** Scroll the rendered row with `key` into view; missing/virtualized rows are no-ops. */
|
|
4524
|
+
scrollToRow: (key: string | number) => void;
|
|
4525
|
+
/** Scroll and transiently highlight the rendered row with `key`; the target clears after 2s. */
|
|
4526
|
+
goToRow: (key: string | number) => void;
|
|
4527
|
+
}
|
|
4319
4528
|
|
|
4320
|
-
/**
|
|
4321
|
-
*
|
|
4322
|
-
* `<table>` element) so it can support virtual scrolling and column resize
|
|
4323
|
-
* uniformly. ARIA roles (`role="table" / "row" / "columnheader" / "cell"`)
|
|
4324
|
-
* are wired explicitly for screen readers.
|
|
4325
|
-
*
|
|
4326
|
-
* **Features**:
|
|
4327
|
-
* - Column-driven rendering with optional `#header.<key>` and `#cell.<key>` slots
|
|
4328
|
-
* - Row activation via `rowClick` and `rowDblclick` events
|
|
4329
|
-
* - Sorting (controlled or uncontrolled, cycles `none → asc → desc → none`)
|
|
4330
|
-
* - Row selection (single / multi) with master checkbox + indeterminate
|
|
4331
|
-
* - **Column resize** (`resizable-columns`) — draggable handle on each
|
|
4332
|
-
* column boundary, `v-model:columnWidths` exposes the map
|
|
4333
|
-
* - **Virtual scrolling** (`:virtual-scroll="{ itemHeight, height }"`) —
|
|
4334
|
-
* renders only the visible row window; viable for 100k+ rows
|
|
4335
|
-
*
|
|
4336
|
-
* @example
|
|
4337
|
-
* <IrisTable
|
|
4338
|
-
* :columns="cols"
|
|
4339
|
-
* :data="rows"
|
|
4340
|
-
* row-key="id"
|
|
4341
|
-
* selectable="multi"
|
|
4342
|
-
* resizable-columns
|
|
4343
|
-
* :virtual-scroll="{ itemHeight: 36, height: 480 }"
|
|
4344
|
-
* />
|
|
4345
|
-
*/
|
|
4529
|
+
/** Data-driven CSS-grid table with explicit ARIA roles, sorting, selection,
|
|
4530
|
+
* column resizing, virtual scrolling, and header/cell slots. */
|
|
4346
4531
|
declare const IrisTable: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
4347
|
-
|
|
4348
|
-
type: BooleanConstructor;
|
|
4349
|
-
default:
|
|
4532
|
+
readonly multiSort: {
|
|
4533
|
+
readonly type: BooleanConstructor;
|
|
4534
|
+
readonly default: false;
|
|
4350
4535
|
};
|
|
4351
|
-
|
|
4352
|
-
type: PropType<
|
|
4536
|
+
readonly multiSortState: {
|
|
4537
|
+
readonly type: vue.PropType<IrisTableSortState[]>;
|
|
4538
|
+
readonly default: undefined;
|
|
4539
|
+
};
|
|
4540
|
+
readonly defaultMultiSort: {
|
|
4541
|
+
readonly type: vue.PropType<IrisTableSortState[]>;
|
|
4542
|
+
readonly default: undefined;
|
|
4543
|
+
};
|
|
4544
|
+
readonly striped: {
|
|
4545
|
+
readonly type: BooleanConstructor;
|
|
4546
|
+
readonly default: false;
|
|
4547
|
+
};
|
|
4548
|
+
readonly editConfig: {
|
|
4549
|
+
readonly type: vue.PropType<{
|
|
4353
4550
|
trigger?: "click" | "dblclick" | "manual";
|
|
4354
4551
|
showAsterisk?: boolean;
|
|
4355
4552
|
autoClear?: boolean;
|
|
4553
|
+
mode?: "cell" | "row";
|
|
4356
4554
|
}>;
|
|
4357
|
-
default: undefined;
|
|
4555
|
+
readonly default: undefined;
|
|
4358
4556
|
};
|
|
4359
|
-
bordered: {
|
|
4360
|
-
type: BooleanConstructor;
|
|
4361
|
-
default:
|
|
4557
|
+
readonly bordered: {
|
|
4558
|
+
readonly type: BooleanConstructor;
|
|
4559
|
+
readonly default: true;
|
|
4362
4560
|
};
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
default: boolean;
|
|
4561
|
+
readonly density: {
|
|
4562
|
+
readonly type: vue.PropType<IrisTableDensity>;
|
|
4563
|
+
readonly default: "comfortable";
|
|
4367
4564
|
};
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
default: undefined;
|
|
4565
|
+
readonly densityToggle: {
|
|
4566
|
+
readonly type: BooleanConstructor;
|
|
4567
|
+
readonly default: false;
|
|
4372
4568
|
};
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
default: undefined;
|
|
4569
|
+
readonly editPreview: {
|
|
4570
|
+
readonly type: BooleanConstructor;
|
|
4571
|
+
readonly default: false;
|
|
4377
4572
|
};
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
default: boolean;
|
|
4573
|
+
readonly pattern: {
|
|
4574
|
+
readonly type: BooleanConstructor;
|
|
4575
|
+
readonly default: false;
|
|
4382
4576
|
};
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
default: boolean;
|
|
4577
|
+
readonly patternFill: {
|
|
4578
|
+
readonly type: BooleanConstructor;
|
|
4579
|
+
readonly default: false;
|
|
4387
4580
|
};
|
|
4388
|
-
|
|
4389
|
-
type: PropType<
|
|
4390
|
-
default: undefined;
|
|
4581
|
+
readonly views: {
|
|
4582
|
+
readonly type: vue.PropType<IrisTableViewConfig>;
|
|
4583
|
+
readonly default: undefined;
|
|
4391
4584
|
};
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
default: boolean;
|
|
4585
|
+
readonly onActiveViewChange: {
|
|
4586
|
+
readonly type: vue.PropType<(key: string | null) => void>;
|
|
4587
|
+
readonly default: undefined;
|
|
4396
4588
|
};
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
* data cells. Off by default; opt-in and additive (no effect on mouse / Tab
|
|
4401
|
-
* behavior). Pairs best without virtualization (the focused cell must be
|
|
4402
|
-
* rendered) and does not hijack keystrokes while a cell is being edited.
|
|
4403
|
-
*/
|
|
4404
|
-
keyboardNavigation: {
|
|
4405
|
-
type: BooleanConstructor;
|
|
4406
|
-
default: boolean;
|
|
4589
|
+
readonly tableTabs: {
|
|
4590
|
+
readonly type: vue.PropType<IrisTableTab[]>;
|
|
4591
|
+
readonly default: undefined;
|
|
4407
4592
|
};
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
* Cells within the range get `data-iris-cell-selected="true"`.
|
|
4412
|
-
*/
|
|
4413
|
-
cellRange: {
|
|
4414
|
-
type: BooleanConstructor;
|
|
4415
|
-
default: boolean;
|
|
4593
|
+
readonly pinnedDrag: {
|
|
4594
|
+
readonly type: BooleanConstructor;
|
|
4595
|
+
readonly default: false;
|
|
4416
4596
|
};
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
* (Not applied in the virtual-scroll path.)
|
|
4421
|
-
*/
|
|
4422
|
-
renderDetail: {
|
|
4423
|
-
type: PropType<IrisTableRenderDetail<Record<string, unknown>>>;
|
|
4424
|
-
default: undefined;
|
|
4597
|
+
readonly onColumnPinnedChange: {
|
|
4598
|
+
readonly type: vue.PropType<(key: string, side: "left" | "right" | null) => void>;
|
|
4599
|
+
readonly default: undefined;
|
|
4425
4600
|
};
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
default: undefined;
|
|
4601
|
+
readonly onPinnedCountChange: {
|
|
4602
|
+
readonly type: vue.PropType<(count: number) => void>;
|
|
4603
|
+
readonly default: undefined;
|
|
4430
4604
|
};
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
default: undefined;
|
|
4605
|
+
readonly autoDetectTypes: {
|
|
4606
|
+
readonly type: BooleanConstructor;
|
|
4607
|
+
readonly default: false;
|
|
4435
4608
|
};
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
* cell gains a depth indent + an expand/collapse toggle (when it has
|
|
4440
|
-
* children), and the expand state reuses `defaultExpandedRowKeys` /
|
|
4441
|
-
* `expandedRowsChange`. Column sort reorders siblings hierarchically (each
|
|
4442
|
-
* level sorted, structure kept), and tree rows virtualize like flat rows
|
|
4443
|
-
* when `virtualScroll` is set (unless `renderDetail` is also used, since
|
|
4444
|
-
* detail panels are variable-height).
|
|
4445
|
-
*/
|
|
4446
|
-
getSubRows: {
|
|
4447
|
-
type: PropType<(row: Record<string, unknown>) => Array<Record<string, unknown>> | undefined>;
|
|
4448
|
-
default: undefined;
|
|
4609
|
+
readonly responsive: {
|
|
4610
|
+
readonly type: BooleanConstructor;
|
|
4611
|
+
readonly default: false;
|
|
4449
4612
|
};
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4613
|
+
readonly exportNames: {
|
|
4614
|
+
readonly type: vue.PropType<Array<{
|
|
4615
|
+
key: string;
|
|
4616
|
+
ref: () => Array<Record<string, unknown>>;
|
|
4617
|
+
}>>;
|
|
4618
|
+
readonly default: undefined;
|
|
4619
|
+
};
|
|
4620
|
+
readonly resizableColumns: {
|
|
4621
|
+
readonly type: BooleanConstructor;
|
|
4622
|
+
readonly default: false;
|
|
4623
|
+
};
|
|
4624
|
+
readonly columnWidths: {
|
|
4625
|
+
readonly type: vue.PropType<IrisTableColumnWidths>;
|
|
4626
|
+
readonly default: undefined;
|
|
4627
|
+
};
|
|
4628
|
+
readonly virtualScroll: {
|
|
4629
|
+
readonly type: vue.PropType<IrisTableVirtualOptions>;
|
|
4630
|
+
readonly default: undefined;
|
|
4631
|
+
};
|
|
4632
|
+
readonly loading: {
|
|
4633
|
+
readonly type: BooleanConstructor;
|
|
4634
|
+
readonly default: false;
|
|
4635
|
+
};
|
|
4636
|
+
readonly error: {
|
|
4637
|
+
readonly type: BooleanConstructor;
|
|
4638
|
+
readonly default: false;
|
|
4639
|
+
};
|
|
4640
|
+
readonly printable: {
|
|
4641
|
+
readonly type: BooleanConstructor;
|
|
4642
|
+
readonly default: false;
|
|
4643
|
+
};
|
|
4644
|
+
readonly importPreview: {
|
|
4645
|
+
readonly type: BooleanConstructor;
|
|
4646
|
+
readonly default: false;
|
|
4647
|
+
};
|
|
4648
|
+
readonly onRetry: {
|
|
4649
|
+
readonly type: vue.PropType<(() => void) | undefined>;
|
|
4650
|
+
readonly default: undefined;
|
|
4651
|
+
};
|
|
4652
|
+
readonly columnVirtualization: {
|
|
4653
|
+
readonly type: BooleanConstructor;
|
|
4654
|
+
readonly default: false;
|
|
4655
|
+
};
|
|
4656
|
+
readonly keyboardNavigation: {
|
|
4657
|
+
readonly type: BooleanConstructor;
|
|
4658
|
+
readonly default: false;
|
|
4659
|
+
};
|
|
4660
|
+
readonly cellRange: {
|
|
4661
|
+
readonly type: BooleanConstructor;
|
|
4662
|
+
readonly default: false;
|
|
4663
|
+
};
|
|
4664
|
+
readonly clipConfig: {
|
|
4665
|
+
readonly type: vue.PropType<IrisTableClipConfig>;
|
|
4666
|
+
readonly default: undefined;
|
|
4667
|
+
};
|
|
4668
|
+
readonly renderDetail: {
|
|
4669
|
+
readonly type: vue.PropType<IrisTableRenderDetail<Record<string, unknown>>>;
|
|
4670
|
+
readonly default: undefined;
|
|
4671
|
+
};
|
|
4672
|
+
readonly rowExpandable: {
|
|
4673
|
+
readonly type: vue.PropType<IrisTableRowExpandable<Record<string, unknown>>>;
|
|
4674
|
+
readonly default: undefined;
|
|
4675
|
+
};
|
|
4676
|
+
readonly defaultExpandedRowKeys: {
|
|
4677
|
+
readonly type: vue.PropType<Array<string | number>>;
|
|
4678
|
+
readonly default: undefined;
|
|
4679
|
+
};
|
|
4680
|
+
readonly getSubRows: {
|
|
4681
|
+
readonly type: vue.PropType<(row: Record<string, unknown>) => Array<Record<string, unknown>> | undefined>;
|
|
4682
|
+
readonly default: undefined;
|
|
4683
|
+
};
|
|
4684
|
+
readonly treeSelectionCascade: {
|
|
4685
|
+
readonly type: BooleanConstructor;
|
|
4686
|
+
readonly default: false;
|
|
4459
4687
|
};
|
|
4460
|
-
|
|
4461
|
-
type: PropType<
|
|
4688
|
+
readonly proxyConfig: {
|
|
4689
|
+
readonly type: vue.PropType<IrisTableProxyConfig<Record<string, unknown>>>;
|
|
4690
|
+
readonly default: undefined;
|
|
4691
|
+
};
|
|
4692
|
+
readonly formConfig: {
|
|
4693
|
+
readonly type: vue.PropType<IrisTableFormConfig>;
|
|
4694
|
+
readonly default: undefined;
|
|
4695
|
+
};
|
|
4696
|
+
readonly toolbar: {
|
|
4697
|
+
readonly type: vue.PropType<IrisTableToolbarConfig>;
|
|
4698
|
+
readonly default: undefined;
|
|
4699
|
+
};
|
|
4700
|
+
readonly columnVisibility: {
|
|
4701
|
+
readonly type: vue.PropType<IrisTableColumnVisibility>;
|
|
4702
|
+
readonly default: undefined;
|
|
4703
|
+
};
|
|
4704
|
+
readonly filters: {
|
|
4705
|
+
readonly type: vue.PropType<Record<string, string>>;
|
|
4706
|
+
readonly default: undefined;
|
|
4707
|
+
};
|
|
4708
|
+
readonly filterValues: {
|
|
4709
|
+
readonly type: vue.PropType<IrisTableFilterValues>;
|
|
4710
|
+
readonly default: undefined;
|
|
4711
|
+
};
|
|
4712
|
+
readonly onFilterValuesChange: {
|
|
4713
|
+
readonly type: vue.PropType<(next: IrisTableFilterValues) => void>;
|
|
4714
|
+
readonly default: undefined;
|
|
4715
|
+
};
|
|
4716
|
+
readonly contextMenu: {
|
|
4717
|
+
readonly type: vue.PropType<IrisTableContextMenuConfig<Record<string, unknown>>>;
|
|
4718
|
+
readonly default: undefined;
|
|
4719
|
+
};
|
|
4720
|
+
readonly lazyLoad: {
|
|
4721
|
+
readonly type: vue.PropType<(row: Record<string, unknown>, load: (children: Array<Record<string, unknown>>) => void) => void>;
|
|
4722
|
+
readonly default: undefined;
|
|
4723
|
+
};
|
|
4724
|
+
readonly seq: {
|
|
4725
|
+
readonly type: BooleanConstructor;
|
|
4726
|
+
readonly default: false;
|
|
4727
|
+
};
|
|
4728
|
+
readonly seqStartIndex: {
|
|
4729
|
+
readonly type: NumberConstructor;
|
|
4730
|
+
readonly default: 1;
|
|
4731
|
+
};
|
|
4732
|
+
readonly spanMethod: {
|
|
4733
|
+
readonly type: vue.PropType<(params: IrisTableSpanMethodParams) => IrisTableSpan | null>;
|
|
4734
|
+
readonly default: undefined;
|
|
4735
|
+
};
|
|
4736
|
+
readonly columnDrag: {
|
|
4737
|
+
readonly type: vue.PropType<IrisTableColumnDrag>;
|
|
4738
|
+
readonly default: undefined;
|
|
4739
|
+
};
|
|
4740
|
+
readonly rowDrag: {
|
|
4741
|
+
readonly type: vue.PropType<IrisTableRowDrag>;
|
|
4742
|
+
readonly default: undefined;
|
|
4743
|
+
};
|
|
4744
|
+
readonly onDataChange: {
|
|
4745
|
+
readonly type: vue.PropType<(rows: Array<Record<string, unknown>>) => void>;
|
|
4746
|
+
readonly default: undefined;
|
|
4747
|
+
};
|
|
4748
|
+
readonly selectable: {
|
|
4749
|
+
type: vue.PropType<"none" | "single" | "multi">;
|
|
4462
4750
|
default: string;
|
|
4463
4751
|
};
|
|
4464
|
-
selection: {
|
|
4465
|
-
type: PropType<Array<string | number>>;
|
|
4752
|
+
readonly selection: {
|
|
4753
|
+
type: vue.PropType<Array<string | number>>;
|
|
4466
4754
|
default: undefined;
|
|
4467
4755
|
};
|
|
4468
|
-
defaultSelection: {
|
|
4469
|
-
type: PropType<Array<string | number>>;
|
|
4756
|
+
readonly defaultSelection: {
|
|
4757
|
+
type: vue.PropType<Array<string | number>>;
|
|
4470
4758
|
default: undefined;
|
|
4471
4759
|
};
|
|
4472
|
-
sort: {
|
|
4473
|
-
type: PropType<IrisTableSortState | null>;
|
|
4760
|
+
readonly sort: {
|
|
4761
|
+
type: vue.PropType<IrisTableSortState | null>;
|
|
4474
4762
|
default: undefined;
|
|
4475
4763
|
};
|
|
4476
|
-
defaultSort: {
|
|
4477
|
-
type: PropType<IrisTableSortState | null>;
|
|
4764
|
+
readonly defaultSort: {
|
|
4765
|
+
type: vue.PropType<IrisTableSortState | null>;
|
|
4478
4766
|
default: undefined;
|
|
4479
4767
|
};
|
|
4480
|
-
columns: {
|
|
4481
|
-
type: PropType<IrisTableColumn<Record<string, unknown>>[]>;
|
|
4482
|
-
required: true;
|
|
4768
|
+
readonly columns: {
|
|
4769
|
+
readonly type: vue.PropType<IrisTableColumn<Record<string, unknown>>[]>;
|
|
4770
|
+
readonly required: true;
|
|
4483
4771
|
};
|
|
4484
|
-
data: {
|
|
4485
|
-
type: PropType<Array<Record<string, unknown>>>;
|
|
4486
|
-
required: false;
|
|
4487
|
-
default: undefined;
|
|
4772
|
+
readonly data: {
|
|
4773
|
+
readonly type: vue.PropType<Array<Record<string, unknown>>>;
|
|
4774
|
+
readonly required: false;
|
|
4775
|
+
readonly default: undefined;
|
|
4488
4776
|
};
|
|
4489
|
-
rowKey: {
|
|
4490
|
-
type: StringConstructor;
|
|
4491
|
-
default:
|
|
4777
|
+
readonly rowKey: {
|
|
4778
|
+
readonly type: StringConstructor;
|
|
4779
|
+
readonly default: "id";
|
|
4492
4780
|
};
|
|
4493
4781
|
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
4494
4782
|
[key: string]: any;
|
|
4495
|
-
}
|
|
4783
|
+
}> | VNode<vue.RendererNode, vue.RendererElement, {
|
|
4784
|
+
[key: string]: any;
|
|
4785
|
+
}>[], {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4496
4786
|
'update:selection': (_value: Array<string | number>) => true;
|
|
4497
4787
|
'update:sort': (_value: IrisTableSortState | null) => true;
|
|
4788
|
+
'update:multiSortState': (_value: IrisTableSortState[]) => true;
|
|
4789
|
+
multiSortChange: (_value: IrisTableSortState[]) => true;
|
|
4498
4790
|
'update:columnWidths': (_value: IrisTableColumnWidths) => true;
|
|
4791
|
+
/** Controlled columnVisibility channel (parent owns the map). */
|
|
4792
|
+
'update:columnVisibility': (_value: IrisTableColumnVisibility) => true;
|
|
4499
4793
|
rowClick: (_row: Record<string, unknown>, _index: number) => true;
|
|
4500
4794
|
rowDblclick: (_row: Record<string, unknown>, _index: number) => true;
|
|
4501
4795
|
cellEdit: (_payload: IrisTableCellEditEvent<Record<string, unknown>>) => true;
|
|
4502
4796
|
expandedRowsChange: (_keys: Array<string | number>) => true;
|
|
4503
4797
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
4504
|
-
|
|
4505
|
-
type: BooleanConstructor;
|
|
4506
|
-
default:
|
|
4798
|
+
readonly multiSort: {
|
|
4799
|
+
readonly type: BooleanConstructor;
|
|
4800
|
+
readonly default: false;
|
|
4507
4801
|
};
|
|
4508
|
-
|
|
4509
|
-
type: PropType<
|
|
4802
|
+
readonly multiSortState: {
|
|
4803
|
+
readonly type: vue.PropType<IrisTableSortState[]>;
|
|
4804
|
+
readonly default: undefined;
|
|
4805
|
+
};
|
|
4806
|
+
readonly defaultMultiSort: {
|
|
4807
|
+
readonly type: vue.PropType<IrisTableSortState[]>;
|
|
4808
|
+
readonly default: undefined;
|
|
4809
|
+
};
|
|
4810
|
+
readonly striped: {
|
|
4811
|
+
readonly type: BooleanConstructor;
|
|
4812
|
+
readonly default: false;
|
|
4813
|
+
};
|
|
4814
|
+
readonly editConfig: {
|
|
4815
|
+
readonly type: vue.PropType<{
|
|
4510
4816
|
trigger?: "click" | "dblclick" | "manual";
|
|
4511
4817
|
showAsterisk?: boolean;
|
|
4512
4818
|
autoClear?: boolean;
|
|
4819
|
+
mode?: "cell" | "row";
|
|
4513
4820
|
}>;
|
|
4514
|
-
default: undefined;
|
|
4821
|
+
readonly default: undefined;
|
|
4515
4822
|
};
|
|
4516
|
-
bordered: {
|
|
4517
|
-
type: BooleanConstructor;
|
|
4518
|
-
default:
|
|
4823
|
+
readonly bordered: {
|
|
4824
|
+
readonly type: BooleanConstructor;
|
|
4825
|
+
readonly default: true;
|
|
4519
4826
|
};
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
default: boolean;
|
|
4827
|
+
readonly density: {
|
|
4828
|
+
readonly type: vue.PropType<IrisTableDensity>;
|
|
4829
|
+
readonly default: "comfortable";
|
|
4524
4830
|
};
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
default: undefined;
|
|
4831
|
+
readonly densityToggle: {
|
|
4832
|
+
readonly type: BooleanConstructor;
|
|
4833
|
+
readonly default: false;
|
|
4529
4834
|
};
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
default: undefined;
|
|
4835
|
+
readonly editPreview: {
|
|
4836
|
+
readonly type: BooleanConstructor;
|
|
4837
|
+
readonly default: false;
|
|
4534
4838
|
};
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
default: boolean;
|
|
4839
|
+
readonly pattern: {
|
|
4840
|
+
readonly type: BooleanConstructor;
|
|
4841
|
+
readonly default: false;
|
|
4539
4842
|
};
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
default: boolean;
|
|
4843
|
+
readonly patternFill: {
|
|
4844
|
+
readonly type: BooleanConstructor;
|
|
4845
|
+
readonly default: false;
|
|
4544
4846
|
};
|
|
4545
|
-
|
|
4546
|
-
type: PropType<
|
|
4547
|
-
default: undefined;
|
|
4847
|
+
readonly views: {
|
|
4848
|
+
readonly type: vue.PropType<IrisTableViewConfig>;
|
|
4849
|
+
readonly default: undefined;
|
|
4548
4850
|
};
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
default: boolean;
|
|
4851
|
+
readonly onActiveViewChange: {
|
|
4852
|
+
readonly type: vue.PropType<(key: string | null) => void>;
|
|
4853
|
+
readonly default: undefined;
|
|
4553
4854
|
};
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
* data cells. Off by default; opt-in and additive (no effect on mouse / Tab
|
|
4558
|
-
* behavior). Pairs best without virtualization (the focused cell must be
|
|
4559
|
-
* rendered) and does not hijack keystrokes while a cell is being edited.
|
|
4560
|
-
*/
|
|
4561
|
-
keyboardNavigation: {
|
|
4562
|
-
type: BooleanConstructor;
|
|
4563
|
-
default: boolean;
|
|
4855
|
+
readonly tableTabs: {
|
|
4856
|
+
readonly type: vue.PropType<IrisTableTab[]>;
|
|
4857
|
+
readonly default: undefined;
|
|
4564
4858
|
};
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
* Cells within the range get `data-iris-cell-selected="true"`.
|
|
4569
|
-
*/
|
|
4570
|
-
cellRange: {
|
|
4571
|
-
type: BooleanConstructor;
|
|
4572
|
-
default: boolean;
|
|
4859
|
+
readonly pinnedDrag: {
|
|
4860
|
+
readonly type: BooleanConstructor;
|
|
4861
|
+
readonly default: false;
|
|
4573
4862
|
};
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
* (Not applied in the virtual-scroll path.)
|
|
4578
|
-
*/
|
|
4579
|
-
renderDetail: {
|
|
4580
|
-
type: PropType<IrisTableRenderDetail<Record<string, unknown>>>;
|
|
4581
|
-
default: undefined;
|
|
4863
|
+
readonly onColumnPinnedChange: {
|
|
4864
|
+
readonly type: vue.PropType<(key: string, side: "left" | "right" | null) => void>;
|
|
4865
|
+
readonly default: undefined;
|
|
4582
4866
|
};
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
default: undefined;
|
|
4867
|
+
readonly onPinnedCountChange: {
|
|
4868
|
+
readonly type: vue.PropType<(count: number) => void>;
|
|
4869
|
+
readonly default: undefined;
|
|
4587
4870
|
};
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
default: undefined;
|
|
4871
|
+
readonly autoDetectTypes: {
|
|
4872
|
+
readonly type: BooleanConstructor;
|
|
4873
|
+
readonly default: false;
|
|
4592
4874
|
};
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
* cell gains a depth indent + an expand/collapse toggle (when it has
|
|
4597
|
-
* children), and the expand state reuses `defaultExpandedRowKeys` /
|
|
4598
|
-
* `expandedRowsChange`. Column sort reorders siblings hierarchically (each
|
|
4599
|
-
* level sorted, structure kept), and tree rows virtualize like flat rows
|
|
4600
|
-
* when `virtualScroll` is set (unless `renderDetail` is also used, since
|
|
4601
|
-
* detail panels are variable-height).
|
|
4602
|
-
*/
|
|
4603
|
-
getSubRows: {
|
|
4604
|
-
type: PropType<(row: Record<string, unknown>) => Array<Record<string, unknown>> | undefined>;
|
|
4605
|
-
default: undefined;
|
|
4875
|
+
readonly responsive: {
|
|
4876
|
+
readonly type: BooleanConstructor;
|
|
4877
|
+
readonly default: false;
|
|
4606
4878
|
};
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4879
|
+
readonly exportNames: {
|
|
4880
|
+
readonly type: vue.PropType<Array<{
|
|
4881
|
+
key: string;
|
|
4882
|
+
ref: () => Array<Record<string, unknown>>;
|
|
4883
|
+
}>>;
|
|
4884
|
+
readonly default: undefined;
|
|
4885
|
+
};
|
|
4886
|
+
readonly resizableColumns: {
|
|
4887
|
+
readonly type: BooleanConstructor;
|
|
4888
|
+
readonly default: false;
|
|
4889
|
+
};
|
|
4890
|
+
readonly columnWidths: {
|
|
4891
|
+
readonly type: vue.PropType<IrisTableColumnWidths>;
|
|
4892
|
+
readonly default: undefined;
|
|
4893
|
+
};
|
|
4894
|
+
readonly virtualScroll: {
|
|
4895
|
+
readonly type: vue.PropType<IrisTableVirtualOptions>;
|
|
4896
|
+
readonly default: undefined;
|
|
4897
|
+
};
|
|
4898
|
+
readonly loading: {
|
|
4899
|
+
readonly type: BooleanConstructor;
|
|
4900
|
+
readonly default: false;
|
|
4901
|
+
};
|
|
4902
|
+
readonly error: {
|
|
4903
|
+
readonly type: BooleanConstructor;
|
|
4904
|
+
readonly default: false;
|
|
4905
|
+
};
|
|
4906
|
+
readonly printable: {
|
|
4907
|
+
readonly type: BooleanConstructor;
|
|
4908
|
+
readonly default: false;
|
|
4909
|
+
};
|
|
4910
|
+
readonly importPreview: {
|
|
4911
|
+
readonly type: BooleanConstructor;
|
|
4912
|
+
readonly default: false;
|
|
4913
|
+
};
|
|
4914
|
+
readonly onRetry: {
|
|
4915
|
+
readonly type: vue.PropType<(() => void) | undefined>;
|
|
4916
|
+
readonly default: undefined;
|
|
4917
|
+
};
|
|
4918
|
+
readonly columnVirtualization: {
|
|
4919
|
+
readonly type: BooleanConstructor;
|
|
4920
|
+
readonly default: false;
|
|
4921
|
+
};
|
|
4922
|
+
readonly keyboardNavigation: {
|
|
4923
|
+
readonly type: BooleanConstructor;
|
|
4924
|
+
readonly default: false;
|
|
4925
|
+
};
|
|
4926
|
+
readonly cellRange: {
|
|
4927
|
+
readonly type: BooleanConstructor;
|
|
4928
|
+
readonly default: false;
|
|
4929
|
+
};
|
|
4930
|
+
readonly clipConfig: {
|
|
4931
|
+
readonly type: vue.PropType<IrisTableClipConfig>;
|
|
4932
|
+
readonly default: undefined;
|
|
4933
|
+
};
|
|
4934
|
+
readonly renderDetail: {
|
|
4935
|
+
readonly type: vue.PropType<IrisTableRenderDetail<Record<string, unknown>>>;
|
|
4936
|
+
readonly default: undefined;
|
|
4937
|
+
};
|
|
4938
|
+
readonly rowExpandable: {
|
|
4939
|
+
readonly type: vue.PropType<IrisTableRowExpandable<Record<string, unknown>>>;
|
|
4940
|
+
readonly default: undefined;
|
|
4941
|
+
};
|
|
4942
|
+
readonly defaultExpandedRowKeys: {
|
|
4943
|
+
readonly type: vue.PropType<Array<string | number>>;
|
|
4944
|
+
readonly default: undefined;
|
|
4945
|
+
};
|
|
4946
|
+
readonly getSubRows: {
|
|
4947
|
+
readonly type: vue.PropType<(row: Record<string, unknown>) => Array<Record<string, unknown>> | undefined>;
|
|
4948
|
+
readonly default: undefined;
|
|
4949
|
+
};
|
|
4950
|
+
readonly treeSelectionCascade: {
|
|
4951
|
+
readonly type: BooleanConstructor;
|
|
4952
|
+
readonly default: false;
|
|
4953
|
+
};
|
|
4954
|
+
readonly proxyConfig: {
|
|
4955
|
+
readonly type: vue.PropType<IrisTableProxyConfig<Record<string, unknown>>>;
|
|
4956
|
+
readonly default: undefined;
|
|
4957
|
+
};
|
|
4958
|
+
readonly formConfig: {
|
|
4959
|
+
readonly type: vue.PropType<IrisTableFormConfig>;
|
|
4960
|
+
readonly default: undefined;
|
|
4961
|
+
};
|
|
4962
|
+
readonly toolbar: {
|
|
4963
|
+
readonly type: vue.PropType<IrisTableToolbarConfig>;
|
|
4964
|
+
readonly default: undefined;
|
|
4965
|
+
};
|
|
4966
|
+
readonly columnVisibility: {
|
|
4967
|
+
readonly type: vue.PropType<IrisTableColumnVisibility>;
|
|
4968
|
+
readonly default: undefined;
|
|
4616
4969
|
};
|
|
4617
|
-
|
|
4618
|
-
type: PropType<
|
|
4970
|
+
readonly filters: {
|
|
4971
|
+
readonly type: vue.PropType<Record<string, string>>;
|
|
4972
|
+
readonly default: undefined;
|
|
4973
|
+
};
|
|
4974
|
+
readonly filterValues: {
|
|
4975
|
+
readonly type: vue.PropType<IrisTableFilterValues>;
|
|
4976
|
+
readonly default: undefined;
|
|
4977
|
+
};
|
|
4978
|
+
readonly onFilterValuesChange: {
|
|
4979
|
+
readonly type: vue.PropType<(next: IrisTableFilterValues) => void>;
|
|
4980
|
+
readonly default: undefined;
|
|
4981
|
+
};
|
|
4982
|
+
readonly contextMenu: {
|
|
4983
|
+
readonly type: vue.PropType<IrisTableContextMenuConfig<Record<string, unknown>>>;
|
|
4984
|
+
readonly default: undefined;
|
|
4985
|
+
};
|
|
4986
|
+
readonly lazyLoad: {
|
|
4987
|
+
readonly type: vue.PropType<(row: Record<string, unknown>, load: (children: Array<Record<string, unknown>>) => void) => void>;
|
|
4988
|
+
readonly default: undefined;
|
|
4989
|
+
};
|
|
4990
|
+
readonly seq: {
|
|
4991
|
+
readonly type: BooleanConstructor;
|
|
4992
|
+
readonly default: false;
|
|
4993
|
+
};
|
|
4994
|
+
readonly seqStartIndex: {
|
|
4995
|
+
readonly type: NumberConstructor;
|
|
4996
|
+
readonly default: 1;
|
|
4997
|
+
};
|
|
4998
|
+
readonly spanMethod: {
|
|
4999
|
+
readonly type: vue.PropType<(params: IrisTableSpanMethodParams) => IrisTableSpan | null>;
|
|
5000
|
+
readonly default: undefined;
|
|
5001
|
+
};
|
|
5002
|
+
readonly columnDrag: {
|
|
5003
|
+
readonly type: vue.PropType<IrisTableColumnDrag>;
|
|
5004
|
+
readonly default: undefined;
|
|
5005
|
+
};
|
|
5006
|
+
readonly rowDrag: {
|
|
5007
|
+
readonly type: vue.PropType<IrisTableRowDrag>;
|
|
5008
|
+
readonly default: undefined;
|
|
5009
|
+
};
|
|
5010
|
+
readonly onDataChange: {
|
|
5011
|
+
readonly type: vue.PropType<(rows: Array<Record<string, unknown>>) => void>;
|
|
5012
|
+
readonly default: undefined;
|
|
5013
|
+
};
|
|
5014
|
+
readonly selectable: {
|
|
5015
|
+
type: vue.PropType<"none" | "single" | "multi">;
|
|
4619
5016
|
default: string;
|
|
4620
5017
|
};
|
|
4621
|
-
selection: {
|
|
4622
|
-
type: PropType<Array<string | number>>;
|
|
5018
|
+
readonly selection: {
|
|
5019
|
+
type: vue.PropType<Array<string | number>>;
|
|
4623
5020
|
default: undefined;
|
|
4624
5021
|
};
|
|
4625
|
-
defaultSelection: {
|
|
4626
|
-
type: PropType<Array<string | number>>;
|
|
5022
|
+
readonly defaultSelection: {
|
|
5023
|
+
type: vue.PropType<Array<string | number>>;
|
|
4627
5024
|
default: undefined;
|
|
4628
5025
|
};
|
|
4629
|
-
sort: {
|
|
4630
|
-
type: PropType<IrisTableSortState | null>;
|
|
5026
|
+
readonly sort: {
|
|
5027
|
+
type: vue.PropType<IrisTableSortState | null>;
|
|
4631
5028
|
default: undefined;
|
|
4632
5029
|
};
|
|
4633
|
-
defaultSort: {
|
|
4634
|
-
type: PropType<IrisTableSortState | null>;
|
|
5030
|
+
readonly defaultSort: {
|
|
5031
|
+
type: vue.PropType<IrisTableSortState | null>;
|
|
4635
5032
|
default: undefined;
|
|
4636
5033
|
};
|
|
4637
|
-
columns: {
|
|
4638
|
-
type: PropType<IrisTableColumn<Record<string, unknown>>[]>;
|
|
4639
|
-
required: true;
|
|
5034
|
+
readonly columns: {
|
|
5035
|
+
readonly type: vue.PropType<IrisTableColumn<Record<string, unknown>>[]>;
|
|
5036
|
+
readonly required: true;
|
|
4640
5037
|
};
|
|
4641
|
-
data: {
|
|
4642
|
-
type: PropType<Array<Record<string, unknown>>>;
|
|
4643
|
-
required: false;
|
|
4644
|
-
default: undefined;
|
|
5038
|
+
readonly data: {
|
|
5039
|
+
readonly type: vue.PropType<Array<Record<string, unknown>>>;
|
|
5040
|
+
readonly required: false;
|
|
5041
|
+
readonly default: undefined;
|
|
4645
5042
|
};
|
|
4646
|
-
rowKey: {
|
|
4647
|
-
type: StringConstructor;
|
|
4648
|
-
default:
|
|
5043
|
+
readonly rowKey: {
|
|
5044
|
+
readonly type: StringConstructor;
|
|
5045
|
+
readonly default: "id";
|
|
4649
5046
|
};
|
|
4650
5047
|
}>> & Readonly<{
|
|
4651
5048
|
"onUpdate:selection"?: ((_value: (string | number)[]) => any) | undefined;
|
|
4652
|
-
onExpandedRowsChange?: ((_keys: (string | number)[]) => any) | undefined;
|
|
4653
5049
|
"onUpdate:sort"?: ((_value: IrisTableSortState | null) => any) | undefined;
|
|
4654
|
-
|
|
5050
|
+
"onUpdate:multiSortState"?: ((_value: IrisTableSortState[]) => any) | undefined;
|
|
5051
|
+
onMultiSortChange?: ((_value: IrisTableSortState[]) => any) | undefined;
|
|
4655
5052
|
"onUpdate:columnWidths"?: ((_value: IrisTableColumnWidths) => any) | undefined;
|
|
5053
|
+
"onUpdate:columnVisibility"?: ((_value: IrisTableColumnVisibility) => any) | undefined;
|
|
4656
5054
|
onRowClick?: ((_row: Record<string, unknown>, _index: number) => any) | undefined;
|
|
4657
5055
|
onRowDblclick?: ((_row: Record<string, unknown>, _index: number) => any) | undefined;
|
|
5056
|
+
onCellEdit?: ((_payload: IrisTableCellEditEvent<Record<string, unknown>>) => any) | undefined;
|
|
5057
|
+
onExpandedRowsChange?: ((_keys: (string | number)[]) => any) | undefined;
|
|
4658
5058
|
}>, {
|
|
4659
|
-
sort: IrisTableSortState | null;
|
|
4660
|
-
data: Record<string, unknown>[];
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
5059
|
+
readonly sort: IrisTableSortState | null;
|
|
5060
|
+
readonly data: Record<string, unknown>[];
|
|
5061
|
+
readonly pattern: boolean;
|
|
5062
|
+
readonly error: boolean;
|
|
5063
|
+
readonly loading: boolean;
|
|
5064
|
+
readonly filters: Record<string, string>;
|
|
5065
|
+
readonly toolbar: IrisTableToolbarConfig;
|
|
5066
|
+
readonly density: IrisTableDensity;
|
|
5067
|
+
readonly formConfig: IrisTableFormConfig;
|
|
5068
|
+
readonly selectable: "none" | "single" | "multi";
|
|
5069
|
+
readonly proxyConfig: IrisTableProxyConfig<Record<string, unknown>>;
|
|
5070
|
+
readonly multiSort: boolean;
|
|
5071
|
+
readonly multiSortState: IrisTableSortState[];
|
|
5072
|
+
readonly defaultMultiSort: IrisTableSortState[];
|
|
5073
|
+
readonly striped: boolean;
|
|
5074
|
+
readonly editConfig: {
|
|
4666
5075
|
trigger?: "click" | "dblclick" | "manual";
|
|
4667
5076
|
showAsterisk?: boolean;
|
|
4668
5077
|
autoClear?: boolean;
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
5078
|
+
mode?: "cell" | "row";
|
|
5079
|
+
};
|
|
5080
|
+
readonly bordered: boolean;
|
|
5081
|
+
readonly densityToggle: boolean;
|
|
5082
|
+
readonly editPreview: boolean;
|
|
5083
|
+
readonly patternFill: boolean;
|
|
5084
|
+
readonly views: _iris_ui_kit_core.TableViewConfig;
|
|
5085
|
+
readonly onActiveViewChange: (key: string | null) => void;
|
|
5086
|
+
readonly tableTabs: _iris_ui_kit_core.TableTab[];
|
|
5087
|
+
readonly pinnedDrag: boolean;
|
|
5088
|
+
readonly onColumnPinnedChange: (key: string, side: "left" | "right" | null) => void;
|
|
5089
|
+
readonly onPinnedCountChange: (count: number) => void;
|
|
5090
|
+
readonly autoDetectTypes: boolean;
|
|
5091
|
+
readonly responsive: boolean;
|
|
5092
|
+
readonly exportNames: {
|
|
5093
|
+
key: string;
|
|
5094
|
+
ref: () => Array<Record<string, unknown>>;
|
|
5095
|
+
}[];
|
|
5096
|
+
readonly resizableColumns: boolean;
|
|
5097
|
+
readonly columnWidths: IrisTableColumnWidths;
|
|
5098
|
+
readonly virtualScroll: IrisTableVirtualOptions;
|
|
5099
|
+
readonly printable: boolean;
|
|
5100
|
+
readonly importPreview: boolean;
|
|
5101
|
+
readonly onRetry: (() => void) | undefined;
|
|
5102
|
+
readonly columnVirtualization: boolean;
|
|
5103
|
+
readonly keyboardNavigation: boolean;
|
|
5104
|
+
readonly cellRange: boolean;
|
|
5105
|
+
readonly clipConfig: IrisTableClipConfig;
|
|
5106
|
+
readonly renderDetail: IrisTableRenderDetail<Record<string, unknown>>;
|
|
5107
|
+
readonly rowExpandable: IrisTableRowExpandable<Record<string, unknown>>;
|
|
5108
|
+
readonly defaultExpandedRowKeys: (string | number)[];
|
|
5109
|
+
readonly getSubRows: (row: Record<string, unknown>) => Array<Record<string, unknown>> | undefined;
|
|
5110
|
+
readonly treeSelectionCascade: boolean;
|
|
5111
|
+
readonly columnVisibility: IrisTableColumnVisibility;
|
|
5112
|
+
readonly filterValues: IrisTableFilterValues;
|
|
5113
|
+
readonly onFilterValuesChange: (next: IrisTableFilterValues) => void;
|
|
5114
|
+
readonly contextMenu: IrisTableContextMenuConfig<Record<string, unknown>>;
|
|
5115
|
+
readonly lazyLoad: (row: Record<string, unknown>, load: (children: Array<Record<string, unknown>>) => void) => void;
|
|
5116
|
+
readonly seq: boolean;
|
|
5117
|
+
readonly seqStartIndex: number;
|
|
5118
|
+
readonly spanMethod: (params: IrisTableSpanMethodParams) => IrisTableSpan | null;
|
|
5119
|
+
readonly columnDrag: IrisTableColumnDrag<Record<string, unknown>>;
|
|
5120
|
+
readonly rowDrag: IrisTableRowDrag<Record<string, unknown>>;
|
|
5121
|
+
readonly onDataChange: (rows: Array<Record<string, unknown>>) => void;
|
|
5122
|
+
readonly selection: (string | number)[];
|
|
5123
|
+
readonly defaultSelection: (string | number)[];
|
|
5124
|
+
readonly defaultSort: IrisTableSortState | null;
|
|
5125
|
+
readonly rowKey: string;
|
|
4687
5126
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
4688
5127
|
/** Public input/event surface inferred from the runtime Vue component. */
|
|
4689
5128
|
type IrisTableProps = InstanceType<typeof IrisTable>['$props'];
|
|
@@ -4696,6 +5135,7 @@ type IrisTableProps = InstanceType<typeof IrisTable>['$props'];
|
|
|
4696
5135
|
* characters, prepend the U+FEFF BOM before writing — `downloadCsv` does this.
|
|
4697
5136
|
*/
|
|
4698
5137
|
declare function exportCsv<Row extends Record<string, unknown>>(rows: readonly Row[], columns: readonly IrisTableColumn<Row>[]): string;
|
|
5138
|
+
|
|
4699
5139
|
/**
|
|
4700
5140
|
* Trigger a download of the given CSV string. A host `FileSaveHandler` (set via
|
|
4701
5141
|
* `setFileSaveHandler`) intercepts it for native save in desktop/mobile shells;
|
|
@@ -5824,8 +6264,8 @@ declare const IrisDescriptions: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
5824
6264
|
}>> & Readonly<{}>, {
|
|
5825
6265
|
items: IrisDescriptionsItem[];
|
|
5826
6266
|
layout: IrisDescriptionsLayout;
|
|
5827
|
-
columns: number;
|
|
5828
6267
|
bordered: boolean;
|
|
6268
|
+
columns: number;
|
|
5829
6269
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
5830
6270
|
|
|
5831
6271
|
interface IrisTransferItem {
|
|
@@ -8387,4 +8827,4 @@ declare const IrisDateRangePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
8387
8827
|
weekStartsOn: number;
|
|
8388
8828
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
8389
8829
|
|
|
8390
|
-
export { type AccordionContext, AccordionContextKey, type DialogContext, DialogContextKey, type DragState, type DrawerContext, DrawerContextKey, type DropdownContext, DropdownContextKey, IrisAccordion, IrisAccordionItem, type IrisAccordionValue, IrisAffix, IrisAlert, type IrisAlertTone, IrisAnchor, type IrisAnchorItem, IrisAspectRatio, IrisAvatar, type IrisAvatarShape, type IrisAvatarSize, IrisBackTop, IrisBadge, type IrisBadgeSize, type IrisBadgeTone, type IrisBadgeVariant, IrisBanner, type IrisBannerTone, IrisBreadcrumb, IrisBreadcrumbItem, IrisButton, type IrisButtonProps, type IrisButtonSize, type IrisButtonType, type IrisButtonVariant, IrisCalendar, IrisCard, type IrisCardPadding, type IrisCardVariant, IrisCarousel, IrisCascader, type IrisCascaderNode, type IrisCascaderSize, IrisCheckbox, type IrisCheckboxSize, type IrisCheckboxValue, IrisChip, type IrisChipSize, type IrisChipTone, type IrisChipVariant, IrisColorPicker, IrisCombobox, type IrisComboboxOption, type IrisComboboxSize, type IrisCommandItem, IrisCommandPalette, IrisCopyButton, type IrisCopyButtonSize, IrisCountdown, type IrisCountdownSize, IrisDatePicker, type IrisDateRange, IrisDateRangePicker, IrisDescriptions, type IrisDescriptionsItem, type IrisDescriptionsLayout, IrisDialog, IrisDialogClose, IrisDialogContent, IrisDialogDescription, IrisDialogTitle, IrisDialogTrigger, IrisDivider, type IrisDividerOrientation, type IrisDividerSpacing, IrisDragger, type IrisDraggerPosition, IrisDrawer, IrisDrawerClose, IrisDrawerContent, type IrisDrawerSide, IrisDrawerTitle, IrisDrawerTrigger, IrisDropdown, IrisDropdownItem, IrisDropdownMenu, IrisDropdownSeparator, IrisDropdownTrigger, IrisEmptyState, IrisFieldset, IrisFileUpload, type IrisFileUploadFile, IrisFloatButton, type IrisFloatButtonAction, type IrisFloatButtonShape, IrisFormField, IrisGauge, type IrisGaugeStatus, IrisIcon, IrisImage, IrisInput, type IrisInputSize, type IrisInputType, IrisKbd, type IrisKbdSize, IrisList, type IrisListItem, IrisMarquee, type IrisMarqueeDirection, IrisMasonry, type IrisMentionOption, IrisMentions, IrisMenu, IrisMenuContent, IrisMenuItem, IrisMenuSeparator, IrisMenuSub, IrisMenuTrigger, IrisNumberInput, type IrisNumberInputSize, IrisOtpInput, type IrisOtpInputSize, type IrisOtpInputType, IrisPagination, type IrisPaginationSize, IrisPasswordInput, type IrisPasswordInputSize, IrisPopover, IrisPopoverContent, IrisPopoverTrigger, IrisProgress, IrisProgressCircle, type IrisProgressCircleStatus, type IrisProgressSize, type IrisProgressTone, IrisRadio, IrisRadioGroup, type IrisRadioSize, IrisRangeSlider, type IrisRangeSliderValue, IrisRating, type IrisRatingSize, IrisResizer, type IrisResizerHandle, type IrisResizerSize, IrisResult, type IrisResultStatus, IrisRibbon, type IrisRibbonPlacement, IrisScrollArea, type IrisScrollAreaAxis, IrisSegmented, type IrisSegmentedOption, type IrisSegmentedSize, IrisSelect, type IrisListItem as IrisSelectItem, type IrisSelectProps, type IrisSelectSize, IrisSkeleton, type IrisSkeletonShape, IrisSlider, type IrisSliderOrientation, IrisSlot, IrisSpinner, type IrisSpinnerSize, IrisSplitButton, type IrisSplitButtonAction, type IrisSplitButtonSize, type IrisSplitButtonVariant, IrisSplitter, type IrisSplitterOrientation, IrisStatistic, type IrisStatisticSize, type IrisStatisticTrend, type IrisStepStatus, IrisStepper, type IrisStepperOrientation, IrisStepperStep, IrisSwitch, type IrisSwitchSize, IrisTable, type IrisTableAggregateOp, type IrisTableCellEditEvent, type IrisTableColumn, type IrisTableColumnWidths, type IrisTableEditor, type IrisTableProps, type IrisTableRenderDetail, type IrisTableRowExpandable, type IrisTableSortDirection, type IrisTableSortState, type IrisTableVirtualOptions, IrisTabs, IrisTabsContent, IrisTabsList, type IrisTabsOrientation, IrisTabsTrigger, IrisTagInput, IrisTextarea, type IrisTextareaSize, IrisTimePicker, type IrisTimePickerFormat, type IrisTimeValue, IrisTimeline, type IrisTimelineItem, type IrisTimelineVariant, type IrisToast, type IrisToastInput, type IrisToastPosition, type IrisToastVariant, IrisToastViewport, IrisToggleGroup, IrisToggleGroupItem, type IrisToggleGroupOrientation, type IrisToggleGroupType, type IrisToggleGroupVariant, IrisToolbar, type IrisToolbarOrientation, IrisTooltip, IrisTour, type IrisTourStep, IrisTransfer, type IrisTransferItem, type IrisTransferVirtualOptions, IrisTree, type IrisTreeNode, IrisTreeSelect, type IrisTreeSelectNode, type IrisTreeSelectSize, type IrisTreeSelectionMode, IrisVirtualScroll, type IrisVirtualScrollAlign, type IrisVirtualScrollExposed, IrisVisuallyHidden, IrisWatermark, type MenuContext, MenuContextKey, type PopoverContext, PopoverContextKey, type StepperContext, StepperContextKey, type TabsContext, TabsContextKey, type ToggleGroupContext, ToggleGroupContextKey, type UseDragOptions, type UseToastReturn, __PROGRESS_STYLE_ID, __SKELETON_STYLE_ID, __SPINNER_STYLE_ID, __resetProgressStyles, __resetSkeletonStyles, __resetSpinnerStyles, clearToasts, composeRefs, defaultFilter, dismissToast, downloadCsv, downloadExcel, exportCsv, exportExcel, findFirstElement, formatBytes, formatRemaining, getToasts, mergeSlotProps, pushToast, subscribeToasts, useDisposableScope, useDrag, useReconnectingSource, useResilientFetcher, useStore, useStoreSelector, useToast };
|
|
8830
|
+
export { type AccordionContext, AccordionContextKey, type DialogContext, DialogContextKey, type DragState, type DrawerContext, DrawerContextKey, type DropdownContext, DropdownContextKey, IrisAccordion, IrisAccordionItem, type IrisAccordionValue, IrisAffix, IrisAlert, type IrisAlertTone, IrisAnchor, type IrisAnchorItem, IrisAspectRatio, IrisAvatar, type IrisAvatarShape, type IrisAvatarSize, IrisBackTop, IrisBadge, type IrisBadgeSize, type IrisBadgeTone, type IrisBadgeVariant, IrisBanner, type IrisBannerTone, IrisBreadcrumb, IrisBreadcrumbItem, IrisButton, type IrisButtonProps, type IrisButtonSize, type IrisButtonType, type IrisButtonVariant, IrisCalendar, IrisCard, type IrisCardPadding, type IrisCardVariant, IrisCarousel, IrisCascader, type IrisCascaderNode, type IrisCascaderSize, IrisCheckbox, type IrisCheckboxSize, type IrisCheckboxValue, IrisChip, type IrisChipSize, type IrisChipTone, type IrisChipVariant, IrisColorPicker, IrisCombobox, type IrisComboboxOption, type IrisComboboxSize, type IrisCommandItem, IrisCommandPalette, IrisCopyButton, type IrisCopyButtonSize, IrisCountdown, type IrisCountdownSize, IrisDatePicker, type IrisDateRange, IrisDateRangePicker, IrisDescriptions, type IrisDescriptionsItem, type IrisDescriptionsLayout, IrisDialog, IrisDialogClose, IrisDialogContent, IrisDialogDescription, IrisDialogTitle, IrisDialogTrigger, IrisDivider, type IrisDividerOrientation, type IrisDividerSpacing, IrisDragger, type IrisDraggerPosition, IrisDrawer, IrisDrawerClose, IrisDrawerContent, type IrisDrawerSide, IrisDrawerTitle, IrisDrawerTrigger, IrisDropdown, IrisDropdownItem, IrisDropdownMenu, IrisDropdownSeparator, IrisDropdownTrigger, IrisEmptyState, IrisFieldset, IrisFileUpload, type IrisFileUploadFile, IrisFloatButton, type IrisFloatButtonAction, type IrisFloatButtonShape, IrisFormField, IrisGauge, type IrisGaugeStatus, IrisIcon, IrisImage, IrisInput, type IrisInputSize, type IrisInputType, IrisKbd, type IrisKbdSize, IrisList, type IrisListItem, IrisMarquee, type IrisMarqueeDirection, IrisMasonry, type IrisMentionOption, IrisMentions, IrisMenu, IrisMenuContent, IrisMenuItem, IrisMenuSeparator, IrisMenuSub, IrisMenuTrigger, IrisNumberInput, type IrisNumberInputSize, IrisOtpInput, type IrisOtpInputSize, type IrisOtpInputType, IrisPagination, type IrisPaginationSize, IrisPasswordInput, type IrisPasswordInputSize, IrisPopover, IrisPopoverContent, IrisPopoverTrigger, IrisProgress, IrisProgressCircle, type IrisProgressCircleStatus, type IrisProgressSize, type IrisProgressTone, IrisRadio, IrisRadioGroup, type IrisRadioSize, IrisRangeSlider, type IrisRangeSliderValue, IrisRating, type IrisRatingSize, IrisResizer, type IrisResizerHandle, type IrisResizerSize, IrisResult, type IrisResultStatus, IrisRibbon, type IrisRibbonPlacement, IrisScrollArea, type IrisScrollAreaAxis, IrisSegmented, type IrisSegmentedOption, type IrisSegmentedSize, IrisSelect, type IrisListItem as IrisSelectItem, type IrisSelectProps, type IrisSelectSize, IrisSkeleton, type IrisSkeletonShape, IrisSlider, type IrisSliderOrientation, IrisSlot, IrisSpinner, type IrisSpinnerSize, IrisSplitButton, type IrisSplitButtonAction, type IrisSplitButtonSize, type IrisSplitButtonVariant, IrisSplitter, type IrisSplitterOrientation, IrisStatistic, type IrisStatisticSize, type IrisStatisticTrend, type IrisStepStatus, IrisStepper, type IrisStepperOrientation, IrisStepperStep, IrisSwitch, type IrisSwitchSize, IrisTable, type IrisTableAggregateOp, type IrisTableCellEditEvent, type IrisTableClipConfig, type IrisTableColumn, type IrisTableColumnDrag, type IrisTableColumnVisibility, type IrisTableColumnWidths, type IrisTableContextMenuConfig, type IrisTableContextMenuParams, type IrisTableEditor, type IrisTableExpose, type IrisTableFilterOption, type IrisTableFilterValues, type IrisTableFormConfig, type IrisTableFormField, type IrisTableNamedView, type IrisTableProps, type IrisTableProxyConfig, type IrisTableProxyInfo, type IrisTableProxyQueryParams, type IrisTableRenderDetail, type IrisTableRowDrag, type IrisTableRowExpandable, type IrisTableSortDirection, type IrisTableSortState, type IrisTableSpan, type IrisTableSpanMethodParams, type IrisTableTab, type IrisTableToolbarBatch, type IrisTableToolbarButton, type IrisTableToolbarConfig, type IrisTableViewConfig, type IrisTableViewSnapshot, type IrisTableVirtualOptions, IrisTabs, IrisTabsContent, IrisTabsList, type IrisTabsOrientation, IrisTabsTrigger, IrisTagInput, IrisTextarea, type IrisTextareaSize, IrisTimePicker, type IrisTimePickerFormat, type IrisTimeValue, IrisTimeline, type IrisTimelineItem, type IrisTimelineVariant, type IrisToast, type IrisToastInput, type IrisToastPosition, type IrisToastVariant, IrisToastViewport, IrisToggleGroup, IrisToggleGroupItem, type IrisToggleGroupOrientation, type IrisToggleGroupType, type IrisToggleGroupVariant, IrisToolbar, type IrisToolbarOrientation, IrisTooltip, IrisTour, type IrisTourStep, IrisTransfer, type IrisTransferItem, type IrisTransferVirtualOptions, IrisTree, type IrisTreeNode, IrisTreeSelect, type IrisTreeSelectNode, type IrisTreeSelectSize, type IrisTreeSelectionMode, IrisVirtualScroll, type IrisVirtualScrollAlign, type IrisVirtualScrollExposed, IrisVisuallyHidden, IrisWatermark, type MenuContext, MenuContextKey, type PopoverContext, PopoverContextKey, type StepperContext, StepperContextKey, type TabsContext, TabsContextKey, type ToggleGroupContext, ToggleGroupContextKey, type UseDragOptions, type UseToastReturn, __PROGRESS_STYLE_ID, __SKELETON_STYLE_ID, __SPINNER_STYLE_ID, __resetProgressStyles, __resetSkeletonStyles, __resetSpinnerStyles, clearToasts, composeRefs, defaultFilter, dismissToast, downloadCsv, downloadExcel, exportCsv, exportExcel, findFirstElement, formatBytes, formatRemaining, getToasts, mergeSlotProps, pushToast, subscribeToasts, useDisposableScope, useDrag, useReconnectingSource, useResilientFetcher, useStore, useStoreSelector, useToast };
|