@iris-ui-kit/vue 0.2.28 → 0.2.30
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 +26 -0
- package/dist/admin.cjs.map +1 -1
- package/dist/admin.js +1 -1
- package/dist/behaviors.d.cts +2 -2
- package/dist/behaviors.d.ts +2 -2
- package/dist/{chunk-XCNCIG2I.js → chunk-LQ2YAOYR.js} +11 -10
- package/dist/chunk-LQ2YAOYR.js.map +1 -0
- package/dist/{chunk-AMNHDYFY.js → chunk-PT6X4543.js} +28 -2
- package/dist/chunk-PT6X4543.js.map +1 -0
- package/dist/{chunk-LWABTQCB.js → chunk-W64OMUBD.js} +12 -8
- package/dist/chunk-W64OMUBD.js.map +1 -0
- package/dist/index.cjs +3869 -879
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +748 -283
- package/dist/index.d.ts +748 -283
- package/dist/index.js +3773 -818
- 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/skeletons.cjs +10 -6
- 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 +1 -1
- package/package.json +6 -6
- package/dist/chunk-AMNHDYFY.js.map +0 -1
- package/dist/chunk-LWABTQCB.js.map +0 -1
- package/dist/chunk-XCNCIG2I.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, AuditLogEntry, 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,30 @@ 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
|
+
/**
|
|
4393
|
+
* Single-line cell formula (batch EK, iris 独有 — vxe has no computed
|
|
4394
|
+
* columns; the closest is a display-only formatter). Evaluated by the core
|
|
4395
|
+
* `evaluateFormula` parser against each row: field refs + `+ - * / %` +
|
|
4396
|
+
* whitelist functions SUM/AVG/MIN/MAX/COUNT (case-insensitive), optional
|
|
4397
|
+
* leading `=`. The COMPUTED value feeds every data consumer — cell render,
|
|
4398
|
+
* sorting, filtering, summary, range copy and CSV export (all via the
|
|
4399
|
+
* `getCellValue` choke point). Errors / unknown fields → null (empty
|
|
4400
|
+
* cell). An `editable` formula column is DISPLAY-ONLY: inline editing and
|
|
4401
|
+
* row mode ignore it. Overrides `dataIndex`.
|
|
4402
|
+
*/
|
|
4403
|
+
formula?: string;
|
|
4404
|
+
/** Format the masked display value; copyWithFormat uses this string. */
|
|
4405
|
+
formatter?: (value: unknown, row: Row) => unknown;
|
|
4406
|
+
/** Mask the display/copy value before the formatter. */
|
|
4407
|
+
mask?: 'sensitive' | ((value: unknown) => string);
|
|
4408
|
+
/** Copy/export the raw value instead of the masked value (formatter copy remains masked). */
|
|
4409
|
+
exportRaw?: boolean;
|
|
4248
4410
|
/** Allow sorting by this column. */
|
|
4249
4411
|
sortable?: boolean;
|
|
4412
|
+
/** Show a header filter trigger + checkbox panel (vxe filterConfig parity). Filtering OR-matches the raw `String(value)` against the checked set. */
|
|
4413
|
+
filterable?: boolean;
|
|
4414
|
+
/** Checkbox options for the filter panel; a column without options can't filter. */
|
|
4415
|
+
filterOptions?: IrisTableFilterOption[];
|
|
4250
4416
|
/** Initial width (px or CSS length). */
|
|
4251
4417
|
width?: number | string;
|
|
4252
4418
|
/** Minimum width when resizing. Default 60. */
|
|
@@ -4316,374 +4482,672 @@ interface IrisTableVirtualOptions {
|
|
|
4316
4482
|
}
|
|
4317
4483
|
/** Map of column key → current width in px (after any resizing). */
|
|
4318
4484
|
type IrisTableColumnWidths = Record<string, number>;
|
|
4485
|
+
/** Column visibility map (vxe columnConfig.visible parity): column key → visible. Default true. */
|
|
4486
|
+
type IrisTableColumnVisibility = Record<string, boolean>;
|
|
4487
|
+
/** Params delivered to `IrisTableProps.spanMethod` (vxe span-method parity). */
|
|
4488
|
+
interface IrisTableSpanMethodParams {
|
|
4489
|
+
/** 0-based row index over the body rows. */
|
|
4490
|
+
rowIndex: number;
|
|
4491
|
+
/** 0-based leaf-column index (seq / selection / drag tracks excluded). */
|
|
4492
|
+
columnIndex: number;
|
|
4493
|
+
}
|
|
4494
|
+
/** 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. */
|
|
4495
|
+
interface IrisTableSpan {
|
|
4496
|
+
rowspan?: number;
|
|
4497
|
+
colspan?: number;
|
|
4498
|
+
}
|
|
4499
|
+
/** 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). */
|
|
4500
|
+
interface IrisTableColumnDrag<Row = Record<string, unknown>> {
|
|
4501
|
+
/** Called with the reordered column array after a drop. */
|
|
4502
|
+
onReorder: (columns: IrisTableColumn<Row>[]) => void;
|
|
4503
|
+
}
|
|
4504
|
+
/** 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). */
|
|
4505
|
+
interface IrisTableRowDrag<Row = Record<string, unknown>> {
|
|
4506
|
+
/** Called with the reordered row array after a drop. */
|
|
4507
|
+
onReorder: (rows: Row[]) => void;
|
|
4508
|
+
}
|
|
4509
|
+
/** Snapshot returned by `IrisTableExpose.getProxyInfo` (vxe getProxyInfo parity). */
|
|
4510
|
+
interface IrisTableProxyInfo {
|
|
4511
|
+
page: number;
|
|
4512
|
+
pageSize: number;
|
|
4513
|
+
total: number;
|
|
4514
|
+
}
|
|
4515
|
+
/** Imperative handle exposed by IrisTable (vxe loadData/reloadData/commitProxy/getProxyInfo parity, batch Y). */
|
|
4516
|
+
interface IrisTableExpose<Row = Record<string, unknown>> {
|
|
4517
|
+
/** 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. */
|
|
4518
|
+
loadData: (rows: Row[]) => void;
|
|
4519
|
+
/** Re-fetch the current page (vxe reloadData parity — alias of the proxy refetch). */
|
|
4520
|
+
reloadData: () => void;
|
|
4521
|
+
/** Merge params into the proxy query and fire the request (vxe commitProxy parity). */
|
|
4522
|
+
commitProxy: (overrides: Partial<IrisTableProxyQueryParams>) => void;
|
|
4523
|
+
/** Proxy state snapshot: page/pageSize/total; null without a proxy (vxe getProxyInfo parity). */
|
|
4524
|
+
getProxyInfo: () => IrisTableProxyInfo | null;
|
|
4525
|
+
/** Remove rows by row-key without issuing a query; missing keys are no-ops. */
|
|
4526
|
+
removeRows: (keys: Array<string | number>) => void;
|
|
4527
|
+
/** Snapshot (copy) of the currently filtered + sorted body rows. */
|
|
4528
|
+
getFilteredData: () => Row[];
|
|
4529
|
+
/** Serialize the current filtered/sorted row view using visible leaf columns. */
|
|
4530
|
+
exportCurrentViewCsv: () => string;
|
|
4531
|
+
/** Serialize the current view plus named bare row sets as CSV segments. */
|
|
4532
|
+
exportMultiCsv: () => string;
|
|
4533
|
+
/** Compare two exported-state JSON strings; never throws on invalid input. */
|
|
4534
|
+
compareStates: (a: string, b: string) => string;
|
|
4535
|
+
/** Scroll the rendered row with `key` into view; missing/virtualized rows are no-ops. */
|
|
4536
|
+
scrollToRow: (key: string | number) => void;
|
|
4537
|
+
/** Scroll and transiently highlight the rendered row with `key`; the target clears after 2s. */
|
|
4538
|
+
goToRow: (key: string | number) => void;
|
|
4539
|
+
/** Audit trail snapshot (batch EN, iris 独有 — mirror react batch AT): newest-first entries (seq/at/type/rowKey/column/old→new) — an empty array when `auditLog` is off or nothing was committed yet. */
|
|
4540
|
+
getAuditLog: () => ReadonlyArray<AuditLogEntry>;
|
|
4541
|
+
/** Wipe every audit entry (batch EN, iris 独有): the seq counter never resets — audit integrity. No-op without `auditLog` (the ring is already empty). */
|
|
4542
|
+
clearAuditLog: () => void;
|
|
4543
|
+
}
|
|
4319
4544
|
|
|
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
|
-
*/
|
|
4545
|
+
/** Data-driven CSS-grid table with explicit ARIA roles, sorting, selection,
|
|
4546
|
+
* column resizing, virtual scrolling, and header/cell slots. */
|
|
4346
4547
|
declare const IrisTable: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
4347
|
-
|
|
4348
|
-
type: BooleanConstructor;
|
|
4349
|
-
default:
|
|
4548
|
+
readonly multiSort: {
|
|
4549
|
+
readonly type: BooleanConstructor;
|
|
4550
|
+
readonly default: false;
|
|
4350
4551
|
};
|
|
4351
|
-
|
|
4352
|
-
type: PropType<
|
|
4552
|
+
readonly multiSortState: {
|
|
4553
|
+
readonly type: vue.PropType<IrisTableSortState[]>;
|
|
4554
|
+
readonly default: undefined;
|
|
4555
|
+
};
|
|
4556
|
+
readonly defaultMultiSort: {
|
|
4557
|
+
readonly type: vue.PropType<IrisTableSortState[]>;
|
|
4558
|
+
readonly default: undefined;
|
|
4559
|
+
};
|
|
4560
|
+
readonly striped: {
|
|
4561
|
+
readonly type: BooleanConstructor;
|
|
4562
|
+
readonly default: false;
|
|
4563
|
+
};
|
|
4564
|
+
readonly editConfig: {
|
|
4565
|
+
readonly type: vue.PropType<{
|
|
4353
4566
|
trigger?: "click" | "dblclick" | "manual";
|
|
4354
4567
|
showAsterisk?: boolean;
|
|
4355
4568
|
autoClear?: boolean;
|
|
4569
|
+
mode?: "cell" | "row";
|
|
4356
4570
|
}>;
|
|
4357
|
-
default: undefined;
|
|
4571
|
+
readonly default: undefined;
|
|
4358
4572
|
};
|
|
4359
|
-
bordered: {
|
|
4360
|
-
type: BooleanConstructor;
|
|
4361
|
-
default:
|
|
4573
|
+
readonly bordered: {
|
|
4574
|
+
readonly type: BooleanConstructor;
|
|
4575
|
+
readonly default: true;
|
|
4362
4576
|
};
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
default: boolean;
|
|
4577
|
+
readonly density: {
|
|
4578
|
+
readonly type: vue.PropType<IrisTableDensity>;
|
|
4579
|
+
readonly default: "comfortable";
|
|
4367
4580
|
};
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
default: undefined;
|
|
4581
|
+
readonly densityToggle: {
|
|
4582
|
+
readonly type: BooleanConstructor;
|
|
4583
|
+
readonly default: false;
|
|
4372
4584
|
};
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
default: undefined;
|
|
4585
|
+
readonly editPreview: {
|
|
4586
|
+
readonly type: BooleanConstructor;
|
|
4587
|
+
readonly default: false;
|
|
4377
4588
|
};
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
default: boolean;
|
|
4589
|
+
readonly pattern: {
|
|
4590
|
+
readonly type: BooleanConstructor;
|
|
4591
|
+
readonly default: false;
|
|
4382
4592
|
};
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
default: boolean;
|
|
4593
|
+
readonly patternFill: {
|
|
4594
|
+
readonly type: BooleanConstructor;
|
|
4595
|
+
readonly default: false;
|
|
4387
4596
|
};
|
|
4388
|
-
|
|
4389
|
-
type: PropType<
|
|
4390
|
-
default: undefined;
|
|
4597
|
+
readonly views: {
|
|
4598
|
+
readonly type: vue.PropType<IrisTableViewConfig>;
|
|
4599
|
+
readonly default: undefined;
|
|
4391
4600
|
};
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
default: boolean;
|
|
4601
|
+
readonly onActiveViewChange: {
|
|
4602
|
+
readonly type: vue.PropType<(key: string | null) => void>;
|
|
4603
|
+
readonly default: undefined;
|
|
4396
4604
|
};
|
|
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;
|
|
4605
|
+
readonly tableTabs: {
|
|
4606
|
+
readonly type: vue.PropType<IrisTableTab[]>;
|
|
4607
|
+
readonly default: undefined;
|
|
4407
4608
|
};
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
|
|
4411
|
-
* Cells within the range get `data-iris-cell-selected="true"`.
|
|
4412
|
-
*/
|
|
4413
|
-
cellRange: {
|
|
4414
|
-
type: BooleanConstructor;
|
|
4415
|
-
default: boolean;
|
|
4609
|
+
readonly pinnedDrag: {
|
|
4610
|
+
readonly type: BooleanConstructor;
|
|
4611
|
+
readonly default: false;
|
|
4416
4612
|
};
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
* (Not applied in the virtual-scroll path.)
|
|
4421
|
-
*/
|
|
4422
|
-
renderDetail: {
|
|
4423
|
-
type: PropType<IrisTableRenderDetail<Record<string, unknown>>>;
|
|
4424
|
-
default: undefined;
|
|
4613
|
+
readonly onColumnPinnedChange: {
|
|
4614
|
+
readonly type: vue.PropType<(key: string, side: "left" | "right" | null) => void>;
|
|
4615
|
+
readonly default: undefined;
|
|
4425
4616
|
};
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
default: undefined;
|
|
4617
|
+
readonly onPinnedCountChange: {
|
|
4618
|
+
readonly type: vue.PropType<(count: number) => void>;
|
|
4619
|
+
readonly default: undefined;
|
|
4430
4620
|
};
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
default: undefined;
|
|
4621
|
+
readonly autoDetectTypes: {
|
|
4622
|
+
readonly type: BooleanConstructor;
|
|
4623
|
+
readonly default: false;
|
|
4435
4624
|
};
|
|
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;
|
|
4625
|
+
readonly responsive: {
|
|
4626
|
+
readonly type: BooleanConstructor;
|
|
4627
|
+
readonly default: false;
|
|
4449
4628
|
};
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4629
|
+
readonly exportNames: {
|
|
4630
|
+
readonly type: vue.PropType<Array<{
|
|
4631
|
+
key: string;
|
|
4632
|
+
ref: () => Array<Record<string, unknown>>;
|
|
4633
|
+
}>>;
|
|
4634
|
+
readonly default: undefined;
|
|
4635
|
+
};
|
|
4636
|
+
readonly resizableColumns: {
|
|
4637
|
+
readonly type: BooleanConstructor;
|
|
4638
|
+
readonly default: false;
|
|
4639
|
+
};
|
|
4640
|
+
readonly columnWidths: {
|
|
4641
|
+
readonly type: vue.PropType<IrisTableColumnWidths>;
|
|
4642
|
+
readonly default: undefined;
|
|
4643
|
+
};
|
|
4644
|
+
readonly virtualScroll: {
|
|
4645
|
+
readonly type: vue.PropType<IrisTableVirtualOptions>;
|
|
4646
|
+
readonly default: undefined;
|
|
4647
|
+
};
|
|
4648
|
+
readonly loading: {
|
|
4649
|
+
readonly type: BooleanConstructor;
|
|
4650
|
+
readonly default: false;
|
|
4651
|
+
};
|
|
4652
|
+
readonly error: {
|
|
4653
|
+
readonly type: BooleanConstructor;
|
|
4654
|
+
readonly default: false;
|
|
4655
|
+
};
|
|
4656
|
+
readonly printable: {
|
|
4657
|
+
readonly type: BooleanConstructor;
|
|
4658
|
+
readonly default: false;
|
|
4659
|
+
};
|
|
4660
|
+
readonly importPreview: {
|
|
4661
|
+
readonly type: BooleanConstructor;
|
|
4662
|
+
readonly default: false;
|
|
4663
|
+
};
|
|
4664
|
+
readonly onRetry: {
|
|
4665
|
+
readonly type: vue.PropType<(() => void) | undefined>;
|
|
4666
|
+
readonly default: undefined;
|
|
4667
|
+
};
|
|
4668
|
+
readonly columnVirtualization: {
|
|
4669
|
+
readonly type: BooleanConstructor;
|
|
4670
|
+
readonly default: false;
|
|
4671
|
+
};
|
|
4672
|
+
readonly keyboardNavigation: {
|
|
4673
|
+
readonly type: BooleanConstructor;
|
|
4674
|
+
readonly default: false;
|
|
4675
|
+
};
|
|
4676
|
+
readonly cellRange: {
|
|
4677
|
+
readonly type: BooleanConstructor;
|
|
4678
|
+
readonly default: false;
|
|
4679
|
+
};
|
|
4680
|
+
readonly clipConfig: {
|
|
4681
|
+
readonly type: vue.PropType<IrisTableClipConfig>;
|
|
4682
|
+
readonly default: undefined;
|
|
4683
|
+
};
|
|
4684
|
+
readonly renderDetail: {
|
|
4685
|
+
readonly type: vue.PropType<IrisTableRenderDetail<Record<string, unknown>>>;
|
|
4686
|
+
readonly default: undefined;
|
|
4687
|
+
};
|
|
4688
|
+
readonly rowExpandable: {
|
|
4689
|
+
readonly type: vue.PropType<IrisTableRowExpandable<Record<string, unknown>>>;
|
|
4690
|
+
readonly default: undefined;
|
|
4691
|
+
};
|
|
4692
|
+
readonly defaultExpandedRowKeys: {
|
|
4693
|
+
readonly type: vue.PropType<Array<string | number>>;
|
|
4694
|
+
readonly default: undefined;
|
|
4695
|
+
};
|
|
4696
|
+
readonly getSubRows: {
|
|
4697
|
+
readonly type: vue.PropType<(row: Record<string, unknown>) => Array<Record<string, unknown>> | undefined>;
|
|
4698
|
+
readonly default: undefined;
|
|
4699
|
+
};
|
|
4700
|
+
readonly treeSelectionCascade: {
|
|
4701
|
+
readonly type: BooleanConstructor;
|
|
4702
|
+
readonly default: false;
|
|
4459
4703
|
};
|
|
4460
|
-
|
|
4461
|
-
type: PropType<
|
|
4704
|
+
readonly proxyConfig: {
|
|
4705
|
+
readonly type: vue.PropType<IrisTableProxyConfig<Record<string, unknown>>>;
|
|
4706
|
+
readonly default: undefined;
|
|
4707
|
+
};
|
|
4708
|
+
readonly formConfig: {
|
|
4709
|
+
readonly type: vue.PropType<IrisTableFormConfig>;
|
|
4710
|
+
readonly default: undefined;
|
|
4711
|
+
};
|
|
4712
|
+
readonly toolbar: {
|
|
4713
|
+
readonly type: vue.PropType<IrisTableToolbarConfig>;
|
|
4714
|
+
readonly default: undefined;
|
|
4715
|
+
};
|
|
4716
|
+
readonly auditLog: {
|
|
4717
|
+
readonly type: BooleanConstructor;
|
|
4718
|
+
readonly default: false;
|
|
4719
|
+
};
|
|
4720
|
+
readonly columnVisibility: {
|
|
4721
|
+
readonly type: vue.PropType<IrisTableColumnVisibility>;
|
|
4722
|
+
readonly default: undefined;
|
|
4723
|
+
};
|
|
4724
|
+
readonly filters: {
|
|
4725
|
+
readonly type: vue.PropType<Record<string, string>>;
|
|
4726
|
+
readonly default: undefined;
|
|
4727
|
+
};
|
|
4728
|
+
readonly filterValues: {
|
|
4729
|
+
readonly type: vue.PropType<IrisTableFilterValues>;
|
|
4730
|
+
readonly default: undefined;
|
|
4731
|
+
};
|
|
4732
|
+
readonly onFilterValuesChange: {
|
|
4733
|
+
readonly type: vue.PropType<(next: IrisTableFilterValues) => void>;
|
|
4734
|
+
readonly default: undefined;
|
|
4735
|
+
};
|
|
4736
|
+
readonly contextMenu: {
|
|
4737
|
+
readonly type: vue.PropType<IrisTableContextMenuConfig<Record<string, unknown>>>;
|
|
4738
|
+
readonly default: undefined;
|
|
4739
|
+
};
|
|
4740
|
+
readonly lazyLoad: {
|
|
4741
|
+
readonly type: vue.PropType<(row: Record<string, unknown>, load: (children: Array<Record<string, unknown>>) => void) => void>;
|
|
4742
|
+
readonly default: undefined;
|
|
4743
|
+
};
|
|
4744
|
+
readonly seq: {
|
|
4745
|
+
readonly type: BooleanConstructor;
|
|
4746
|
+
readonly default: false;
|
|
4747
|
+
};
|
|
4748
|
+
readonly seqStartIndex: {
|
|
4749
|
+
readonly type: NumberConstructor;
|
|
4750
|
+
readonly default: 1;
|
|
4751
|
+
};
|
|
4752
|
+
readonly spanMethod: {
|
|
4753
|
+
readonly type: vue.PropType<(params: IrisTableSpanMethodParams) => IrisTableSpan | null>;
|
|
4754
|
+
readonly default: undefined;
|
|
4755
|
+
};
|
|
4756
|
+
readonly columnDrag: {
|
|
4757
|
+
readonly type: vue.PropType<IrisTableColumnDrag>;
|
|
4758
|
+
readonly default: undefined;
|
|
4759
|
+
};
|
|
4760
|
+
readonly rowDrag: {
|
|
4761
|
+
readonly type: vue.PropType<IrisTableRowDrag>;
|
|
4762
|
+
readonly default: undefined;
|
|
4763
|
+
};
|
|
4764
|
+
readonly onDataChange: {
|
|
4765
|
+
readonly type: vue.PropType<(rows: Array<Record<string, unknown>>) => void>;
|
|
4766
|
+
readonly default: undefined;
|
|
4767
|
+
};
|
|
4768
|
+
readonly selectable: {
|
|
4769
|
+
type: vue.PropType<"none" | "single" | "multi">;
|
|
4462
4770
|
default: string;
|
|
4463
4771
|
};
|
|
4464
|
-
selection: {
|
|
4465
|
-
type: PropType<Array<string | number>>;
|
|
4772
|
+
readonly selection: {
|
|
4773
|
+
type: vue.PropType<Array<string | number>>;
|
|
4466
4774
|
default: undefined;
|
|
4467
4775
|
};
|
|
4468
|
-
defaultSelection: {
|
|
4469
|
-
type: PropType<Array<string | number>>;
|
|
4776
|
+
readonly defaultSelection: {
|
|
4777
|
+
type: vue.PropType<Array<string | number>>;
|
|
4470
4778
|
default: undefined;
|
|
4471
4779
|
};
|
|
4472
|
-
sort: {
|
|
4473
|
-
type: PropType<IrisTableSortState | null>;
|
|
4780
|
+
readonly sort: {
|
|
4781
|
+
type: vue.PropType<IrisTableSortState | null>;
|
|
4474
4782
|
default: undefined;
|
|
4475
4783
|
};
|
|
4476
|
-
defaultSort: {
|
|
4477
|
-
type: PropType<IrisTableSortState | null>;
|
|
4784
|
+
readonly defaultSort: {
|
|
4785
|
+
type: vue.PropType<IrisTableSortState | null>;
|
|
4478
4786
|
default: undefined;
|
|
4479
4787
|
};
|
|
4480
|
-
columns: {
|
|
4481
|
-
type: PropType<IrisTableColumn<Record<string, unknown>>[]>;
|
|
4482
|
-
required: true;
|
|
4788
|
+
readonly columns: {
|
|
4789
|
+
readonly type: vue.PropType<IrisTableColumn<Record<string, unknown>>[]>;
|
|
4790
|
+
readonly required: true;
|
|
4483
4791
|
};
|
|
4484
|
-
data: {
|
|
4485
|
-
type: PropType<Array<Record<string, unknown>>>;
|
|
4486
|
-
required: false;
|
|
4487
|
-
default: undefined;
|
|
4792
|
+
readonly data: {
|
|
4793
|
+
readonly type: vue.PropType<Array<Record<string, unknown>>>;
|
|
4794
|
+
readonly required: false;
|
|
4795
|
+
readonly default: undefined;
|
|
4488
4796
|
};
|
|
4489
|
-
rowKey: {
|
|
4490
|
-
type: StringConstructor;
|
|
4491
|
-
default:
|
|
4797
|
+
readonly rowKey: {
|
|
4798
|
+
readonly type: StringConstructor;
|
|
4799
|
+
readonly default: "id";
|
|
4492
4800
|
};
|
|
4493
4801
|
}>, () => VNode<vue.RendererNode, vue.RendererElement, {
|
|
4494
4802
|
[key: string]: any;
|
|
4495
|
-
}
|
|
4803
|
+
}> | VNode<vue.RendererNode, vue.RendererElement, {
|
|
4804
|
+
[key: string]: any;
|
|
4805
|
+
}>[], {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
4496
4806
|
'update:selection': (_value: Array<string | number>) => true;
|
|
4497
4807
|
'update:sort': (_value: IrisTableSortState | null) => true;
|
|
4808
|
+
'update:multiSortState': (_value: IrisTableSortState[]) => true;
|
|
4809
|
+
multiSortChange: (_value: IrisTableSortState[]) => true;
|
|
4498
4810
|
'update:columnWidths': (_value: IrisTableColumnWidths) => true;
|
|
4811
|
+
/** Controlled columnVisibility channel (parent owns the map). */
|
|
4812
|
+
'update:columnVisibility': (_value: IrisTableColumnVisibility) => true;
|
|
4499
4813
|
rowClick: (_row: Record<string, unknown>, _index: number) => true;
|
|
4500
4814
|
rowDblclick: (_row: Record<string, unknown>, _index: number) => true;
|
|
4501
4815
|
cellEdit: (_payload: IrisTableCellEditEvent<Record<string, unknown>>) => true;
|
|
4502
4816
|
expandedRowsChange: (_keys: Array<string | number>) => true;
|
|
4503
4817
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
4504
|
-
|
|
4505
|
-
type: BooleanConstructor;
|
|
4506
|
-
default:
|
|
4818
|
+
readonly multiSort: {
|
|
4819
|
+
readonly type: BooleanConstructor;
|
|
4820
|
+
readonly default: false;
|
|
4507
4821
|
};
|
|
4508
|
-
|
|
4509
|
-
type: PropType<
|
|
4822
|
+
readonly multiSortState: {
|
|
4823
|
+
readonly type: vue.PropType<IrisTableSortState[]>;
|
|
4824
|
+
readonly default: undefined;
|
|
4825
|
+
};
|
|
4826
|
+
readonly defaultMultiSort: {
|
|
4827
|
+
readonly type: vue.PropType<IrisTableSortState[]>;
|
|
4828
|
+
readonly default: undefined;
|
|
4829
|
+
};
|
|
4830
|
+
readonly striped: {
|
|
4831
|
+
readonly type: BooleanConstructor;
|
|
4832
|
+
readonly default: false;
|
|
4833
|
+
};
|
|
4834
|
+
readonly editConfig: {
|
|
4835
|
+
readonly type: vue.PropType<{
|
|
4510
4836
|
trigger?: "click" | "dblclick" | "manual";
|
|
4511
4837
|
showAsterisk?: boolean;
|
|
4512
4838
|
autoClear?: boolean;
|
|
4839
|
+
mode?: "cell" | "row";
|
|
4513
4840
|
}>;
|
|
4514
|
-
default: undefined;
|
|
4841
|
+
readonly default: undefined;
|
|
4515
4842
|
};
|
|
4516
|
-
bordered: {
|
|
4517
|
-
type: BooleanConstructor;
|
|
4518
|
-
default:
|
|
4843
|
+
readonly bordered: {
|
|
4844
|
+
readonly type: BooleanConstructor;
|
|
4845
|
+
readonly default: true;
|
|
4519
4846
|
};
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
default: boolean;
|
|
4847
|
+
readonly density: {
|
|
4848
|
+
readonly type: vue.PropType<IrisTableDensity>;
|
|
4849
|
+
readonly default: "comfortable";
|
|
4524
4850
|
};
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
default: undefined;
|
|
4851
|
+
readonly densityToggle: {
|
|
4852
|
+
readonly type: BooleanConstructor;
|
|
4853
|
+
readonly default: false;
|
|
4529
4854
|
};
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
default: undefined;
|
|
4855
|
+
readonly editPreview: {
|
|
4856
|
+
readonly type: BooleanConstructor;
|
|
4857
|
+
readonly default: false;
|
|
4534
4858
|
};
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
default: boolean;
|
|
4859
|
+
readonly pattern: {
|
|
4860
|
+
readonly type: BooleanConstructor;
|
|
4861
|
+
readonly default: false;
|
|
4539
4862
|
};
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
default: boolean;
|
|
4863
|
+
readonly patternFill: {
|
|
4864
|
+
readonly type: BooleanConstructor;
|
|
4865
|
+
readonly default: false;
|
|
4544
4866
|
};
|
|
4545
|
-
|
|
4546
|
-
type: PropType<
|
|
4547
|
-
default: undefined;
|
|
4867
|
+
readonly views: {
|
|
4868
|
+
readonly type: vue.PropType<IrisTableViewConfig>;
|
|
4869
|
+
readonly default: undefined;
|
|
4548
4870
|
};
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
default: boolean;
|
|
4871
|
+
readonly onActiveViewChange: {
|
|
4872
|
+
readonly type: vue.PropType<(key: string | null) => void>;
|
|
4873
|
+
readonly default: undefined;
|
|
4553
4874
|
};
|
|
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;
|
|
4875
|
+
readonly tableTabs: {
|
|
4876
|
+
readonly type: vue.PropType<IrisTableTab[]>;
|
|
4877
|
+
readonly default: undefined;
|
|
4564
4878
|
};
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
* Cells within the range get `data-iris-cell-selected="true"`.
|
|
4569
|
-
*/
|
|
4570
|
-
cellRange: {
|
|
4571
|
-
type: BooleanConstructor;
|
|
4572
|
-
default: boolean;
|
|
4879
|
+
readonly pinnedDrag: {
|
|
4880
|
+
readonly type: BooleanConstructor;
|
|
4881
|
+
readonly default: false;
|
|
4573
4882
|
};
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
* (Not applied in the virtual-scroll path.)
|
|
4578
|
-
*/
|
|
4579
|
-
renderDetail: {
|
|
4580
|
-
type: PropType<IrisTableRenderDetail<Record<string, unknown>>>;
|
|
4581
|
-
default: undefined;
|
|
4883
|
+
readonly onColumnPinnedChange: {
|
|
4884
|
+
readonly type: vue.PropType<(key: string, side: "left" | "right" | null) => void>;
|
|
4885
|
+
readonly default: undefined;
|
|
4582
4886
|
};
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
default: undefined;
|
|
4887
|
+
readonly onPinnedCountChange: {
|
|
4888
|
+
readonly type: vue.PropType<(count: number) => void>;
|
|
4889
|
+
readonly default: undefined;
|
|
4587
4890
|
};
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
default: undefined;
|
|
4891
|
+
readonly autoDetectTypes: {
|
|
4892
|
+
readonly type: BooleanConstructor;
|
|
4893
|
+
readonly default: false;
|
|
4592
4894
|
};
|
|
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;
|
|
4895
|
+
readonly responsive: {
|
|
4896
|
+
readonly type: BooleanConstructor;
|
|
4897
|
+
readonly default: false;
|
|
4606
4898
|
};
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4899
|
+
readonly exportNames: {
|
|
4900
|
+
readonly type: vue.PropType<Array<{
|
|
4901
|
+
key: string;
|
|
4902
|
+
ref: () => Array<Record<string, unknown>>;
|
|
4903
|
+
}>>;
|
|
4904
|
+
readonly default: undefined;
|
|
4905
|
+
};
|
|
4906
|
+
readonly resizableColumns: {
|
|
4907
|
+
readonly type: BooleanConstructor;
|
|
4908
|
+
readonly default: false;
|
|
4909
|
+
};
|
|
4910
|
+
readonly columnWidths: {
|
|
4911
|
+
readonly type: vue.PropType<IrisTableColumnWidths>;
|
|
4912
|
+
readonly default: undefined;
|
|
4913
|
+
};
|
|
4914
|
+
readonly virtualScroll: {
|
|
4915
|
+
readonly type: vue.PropType<IrisTableVirtualOptions>;
|
|
4916
|
+
readonly default: undefined;
|
|
4917
|
+
};
|
|
4918
|
+
readonly loading: {
|
|
4919
|
+
readonly type: BooleanConstructor;
|
|
4920
|
+
readonly default: false;
|
|
4921
|
+
};
|
|
4922
|
+
readonly error: {
|
|
4923
|
+
readonly type: BooleanConstructor;
|
|
4924
|
+
readonly default: false;
|
|
4925
|
+
};
|
|
4926
|
+
readonly printable: {
|
|
4927
|
+
readonly type: BooleanConstructor;
|
|
4928
|
+
readonly default: false;
|
|
4929
|
+
};
|
|
4930
|
+
readonly importPreview: {
|
|
4931
|
+
readonly type: BooleanConstructor;
|
|
4932
|
+
readonly default: false;
|
|
4933
|
+
};
|
|
4934
|
+
readonly onRetry: {
|
|
4935
|
+
readonly type: vue.PropType<(() => void) | undefined>;
|
|
4936
|
+
readonly default: undefined;
|
|
4937
|
+
};
|
|
4938
|
+
readonly columnVirtualization: {
|
|
4939
|
+
readonly type: BooleanConstructor;
|
|
4940
|
+
readonly default: false;
|
|
4941
|
+
};
|
|
4942
|
+
readonly keyboardNavigation: {
|
|
4943
|
+
readonly type: BooleanConstructor;
|
|
4944
|
+
readonly default: false;
|
|
4945
|
+
};
|
|
4946
|
+
readonly cellRange: {
|
|
4947
|
+
readonly type: BooleanConstructor;
|
|
4948
|
+
readonly default: false;
|
|
4949
|
+
};
|
|
4950
|
+
readonly clipConfig: {
|
|
4951
|
+
readonly type: vue.PropType<IrisTableClipConfig>;
|
|
4952
|
+
readonly default: undefined;
|
|
4953
|
+
};
|
|
4954
|
+
readonly renderDetail: {
|
|
4955
|
+
readonly type: vue.PropType<IrisTableRenderDetail<Record<string, unknown>>>;
|
|
4956
|
+
readonly default: undefined;
|
|
4957
|
+
};
|
|
4958
|
+
readonly rowExpandable: {
|
|
4959
|
+
readonly type: vue.PropType<IrisTableRowExpandable<Record<string, unknown>>>;
|
|
4960
|
+
readonly default: undefined;
|
|
4961
|
+
};
|
|
4962
|
+
readonly defaultExpandedRowKeys: {
|
|
4963
|
+
readonly type: vue.PropType<Array<string | number>>;
|
|
4964
|
+
readonly default: undefined;
|
|
4965
|
+
};
|
|
4966
|
+
readonly getSubRows: {
|
|
4967
|
+
readonly type: vue.PropType<(row: Record<string, unknown>) => Array<Record<string, unknown>> | undefined>;
|
|
4968
|
+
readonly default: undefined;
|
|
4969
|
+
};
|
|
4970
|
+
readonly treeSelectionCascade: {
|
|
4971
|
+
readonly type: BooleanConstructor;
|
|
4972
|
+
readonly default: false;
|
|
4973
|
+
};
|
|
4974
|
+
readonly proxyConfig: {
|
|
4975
|
+
readonly type: vue.PropType<IrisTableProxyConfig<Record<string, unknown>>>;
|
|
4976
|
+
readonly default: undefined;
|
|
4977
|
+
};
|
|
4978
|
+
readonly formConfig: {
|
|
4979
|
+
readonly type: vue.PropType<IrisTableFormConfig>;
|
|
4980
|
+
readonly default: undefined;
|
|
4981
|
+
};
|
|
4982
|
+
readonly toolbar: {
|
|
4983
|
+
readonly type: vue.PropType<IrisTableToolbarConfig>;
|
|
4984
|
+
readonly default: undefined;
|
|
4985
|
+
};
|
|
4986
|
+
readonly auditLog: {
|
|
4987
|
+
readonly type: BooleanConstructor;
|
|
4988
|
+
readonly default: false;
|
|
4616
4989
|
};
|
|
4617
|
-
|
|
4618
|
-
type: PropType<
|
|
4990
|
+
readonly columnVisibility: {
|
|
4991
|
+
readonly type: vue.PropType<IrisTableColumnVisibility>;
|
|
4992
|
+
readonly default: undefined;
|
|
4993
|
+
};
|
|
4994
|
+
readonly filters: {
|
|
4995
|
+
readonly type: vue.PropType<Record<string, string>>;
|
|
4996
|
+
readonly default: undefined;
|
|
4997
|
+
};
|
|
4998
|
+
readonly filterValues: {
|
|
4999
|
+
readonly type: vue.PropType<IrisTableFilterValues>;
|
|
5000
|
+
readonly default: undefined;
|
|
5001
|
+
};
|
|
5002
|
+
readonly onFilterValuesChange: {
|
|
5003
|
+
readonly type: vue.PropType<(next: IrisTableFilterValues) => void>;
|
|
5004
|
+
readonly default: undefined;
|
|
5005
|
+
};
|
|
5006
|
+
readonly contextMenu: {
|
|
5007
|
+
readonly type: vue.PropType<IrisTableContextMenuConfig<Record<string, unknown>>>;
|
|
5008
|
+
readonly default: undefined;
|
|
5009
|
+
};
|
|
5010
|
+
readonly lazyLoad: {
|
|
5011
|
+
readonly type: vue.PropType<(row: Record<string, unknown>, load: (children: Array<Record<string, unknown>>) => void) => void>;
|
|
5012
|
+
readonly default: undefined;
|
|
5013
|
+
};
|
|
5014
|
+
readonly seq: {
|
|
5015
|
+
readonly type: BooleanConstructor;
|
|
5016
|
+
readonly default: false;
|
|
5017
|
+
};
|
|
5018
|
+
readonly seqStartIndex: {
|
|
5019
|
+
readonly type: NumberConstructor;
|
|
5020
|
+
readonly default: 1;
|
|
5021
|
+
};
|
|
5022
|
+
readonly spanMethod: {
|
|
5023
|
+
readonly type: vue.PropType<(params: IrisTableSpanMethodParams) => IrisTableSpan | null>;
|
|
5024
|
+
readonly default: undefined;
|
|
5025
|
+
};
|
|
5026
|
+
readonly columnDrag: {
|
|
5027
|
+
readonly type: vue.PropType<IrisTableColumnDrag>;
|
|
5028
|
+
readonly default: undefined;
|
|
5029
|
+
};
|
|
5030
|
+
readonly rowDrag: {
|
|
5031
|
+
readonly type: vue.PropType<IrisTableRowDrag>;
|
|
5032
|
+
readonly default: undefined;
|
|
5033
|
+
};
|
|
5034
|
+
readonly onDataChange: {
|
|
5035
|
+
readonly type: vue.PropType<(rows: Array<Record<string, unknown>>) => void>;
|
|
5036
|
+
readonly default: undefined;
|
|
5037
|
+
};
|
|
5038
|
+
readonly selectable: {
|
|
5039
|
+
type: vue.PropType<"none" | "single" | "multi">;
|
|
4619
5040
|
default: string;
|
|
4620
5041
|
};
|
|
4621
|
-
selection: {
|
|
4622
|
-
type: PropType<Array<string | number>>;
|
|
5042
|
+
readonly selection: {
|
|
5043
|
+
type: vue.PropType<Array<string | number>>;
|
|
4623
5044
|
default: undefined;
|
|
4624
5045
|
};
|
|
4625
|
-
defaultSelection: {
|
|
4626
|
-
type: PropType<Array<string | number>>;
|
|
5046
|
+
readonly defaultSelection: {
|
|
5047
|
+
type: vue.PropType<Array<string | number>>;
|
|
4627
5048
|
default: undefined;
|
|
4628
5049
|
};
|
|
4629
|
-
sort: {
|
|
4630
|
-
type: PropType<IrisTableSortState | null>;
|
|
5050
|
+
readonly sort: {
|
|
5051
|
+
type: vue.PropType<IrisTableSortState | null>;
|
|
4631
5052
|
default: undefined;
|
|
4632
5053
|
};
|
|
4633
|
-
defaultSort: {
|
|
4634
|
-
type: PropType<IrisTableSortState | null>;
|
|
5054
|
+
readonly defaultSort: {
|
|
5055
|
+
type: vue.PropType<IrisTableSortState | null>;
|
|
4635
5056
|
default: undefined;
|
|
4636
5057
|
};
|
|
4637
|
-
columns: {
|
|
4638
|
-
type: PropType<IrisTableColumn<Record<string, unknown>>[]>;
|
|
4639
|
-
required: true;
|
|
5058
|
+
readonly columns: {
|
|
5059
|
+
readonly type: vue.PropType<IrisTableColumn<Record<string, unknown>>[]>;
|
|
5060
|
+
readonly required: true;
|
|
4640
5061
|
};
|
|
4641
|
-
data: {
|
|
4642
|
-
type: PropType<Array<Record<string, unknown>>>;
|
|
4643
|
-
required: false;
|
|
4644
|
-
default: undefined;
|
|
5062
|
+
readonly data: {
|
|
5063
|
+
readonly type: vue.PropType<Array<Record<string, unknown>>>;
|
|
5064
|
+
readonly required: false;
|
|
5065
|
+
readonly default: undefined;
|
|
4645
5066
|
};
|
|
4646
|
-
rowKey: {
|
|
4647
|
-
type: StringConstructor;
|
|
4648
|
-
default:
|
|
5067
|
+
readonly rowKey: {
|
|
5068
|
+
readonly type: StringConstructor;
|
|
5069
|
+
readonly default: "id";
|
|
4649
5070
|
};
|
|
4650
5071
|
}>> & Readonly<{
|
|
4651
5072
|
"onUpdate:selection"?: ((_value: (string | number)[]) => any) | undefined;
|
|
4652
|
-
onExpandedRowsChange?: ((_keys: (string | number)[]) => any) | undefined;
|
|
4653
5073
|
"onUpdate:sort"?: ((_value: IrisTableSortState | null) => any) | undefined;
|
|
4654
|
-
|
|
5074
|
+
"onUpdate:multiSortState"?: ((_value: IrisTableSortState[]) => any) | undefined;
|
|
5075
|
+
onMultiSortChange?: ((_value: IrisTableSortState[]) => any) | undefined;
|
|
4655
5076
|
"onUpdate:columnWidths"?: ((_value: IrisTableColumnWidths) => any) | undefined;
|
|
5077
|
+
"onUpdate:columnVisibility"?: ((_value: IrisTableColumnVisibility) => any) | undefined;
|
|
4656
5078
|
onRowClick?: ((_row: Record<string, unknown>, _index: number) => any) | undefined;
|
|
4657
5079
|
onRowDblclick?: ((_row: Record<string, unknown>, _index: number) => any) | undefined;
|
|
5080
|
+
onCellEdit?: ((_payload: IrisTableCellEditEvent<Record<string, unknown>>) => any) | undefined;
|
|
5081
|
+
onExpandedRowsChange?: ((_keys: (string | number)[]) => any) | undefined;
|
|
4658
5082
|
}>, {
|
|
4659
|
-
sort: IrisTableSortState | null;
|
|
4660
|
-
data: Record<string, unknown>[];
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
5083
|
+
readonly sort: IrisTableSortState | null;
|
|
5084
|
+
readonly data: Record<string, unknown>[];
|
|
5085
|
+
readonly pattern: boolean;
|
|
5086
|
+
readonly error: boolean;
|
|
5087
|
+
readonly loading: boolean;
|
|
5088
|
+
readonly filters: Record<string, string>;
|
|
5089
|
+
readonly toolbar: IrisTableToolbarConfig;
|
|
5090
|
+
readonly density: IrisTableDensity;
|
|
5091
|
+
readonly formConfig: IrisTableFormConfig;
|
|
5092
|
+
readonly selectable: "none" | "single" | "multi";
|
|
5093
|
+
readonly proxyConfig: IrisTableProxyConfig<Record<string, unknown>>;
|
|
5094
|
+
readonly rowKey: string;
|
|
5095
|
+
readonly seq: boolean;
|
|
5096
|
+
readonly multiSort: boolean;
|
|
5097
|
+
readonly multiSortState: IrisTableSortState[];
|
|
5098
|
+
readonly defaultMultiSort: IrisTableSortState[];
|
|
5099
|
+
readonly striped: boolean;
|
|
5100
|
+
readonly editConfig: {
|
|
4666
5101
|
trigger?: "click" | "dblclick" | "manual";
|
|
4667
5102
|
showAsterisk?: boolean;
|
|
4668
5103
|
autoClear?: boolean;
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
5104
|
+
mode?: "cell" | "row";
|
|
5105
|
+
};
|
|
5106
|
+
readonly bordered: boolean;
|
|
5107
|
+
readonly densityToggle: boolean;
|
|
5108
|
+
readonly editPreview: boolean;
|
|
5109
|
+
readonly patternFill: boolean;
|
|
5110
|
+
readonly views: _iris_ui_kit_core.TableViewConfig;
|
|
5111
|
+
readonly onActiveViewChange: (key: string | null) => void;
|
|
5112
|
+
readonly tableTabs: _iris_ui_kit_core.TableTab[];
|
|
5113
|
+
readonly pinnedDrag: boolean;
|
|
5114
|
+
readonly onColumnPinnedChange: (key: string, side: "left" | "right" | null) => void;
|
|
5115
|
+
readonly onPinnedCountChange: (count: number) => void;
|
|
5116
|
+
readonly autoDetectTypes: boolean;
|
|
5117
|
+
readonly responsive: boolean;
|
|
5118
|
+
readonly exportNames: {
|
|
5119
|
+
key: string;
|
|
5120
|
+
ref: () => Array<Record<string, unknown>>;
|
|
5121
|
+
}[];
|
|
5122
|
+
readonly resizableColumns: boolean;
|
|
5123
|
+
readonly columnWidths: IrisTableColumnWidths;
|
|
5124
|
+
readonly virtualScroll: IrisTableVirtualOptions;
|
|
5125
|
+
readonly printable: boolean;
|
|
5126
|
+
readonly importPreview: boolean;
|
|
5127
|
+
readonly onRetry: (() => void) | undefined;
|
|
5128
|
+
readonly columnVirtualization: boolean;
|
|
5129
|
+
readonly keyboardNavigation: boolean;
|
|
5130
|
+
readonly cellRange: boolean;
|
|
5131
|
+
readonly clipConfig: IrisTableClipConfig;
|
|
5132
|
+
readonly renderDetail: IrisTableRenderDetail<Record<string, unknown>>;
|
|
5133
|
+
readonly rowExpandable: IrisTableRowExpandable<Record<string, unknown>>;
|
|
5134
|
+
readonly defaultExpandedRowKeys: (string | number)[];
|
|
5135
|
+
readonly getSubRows: (row: Record<string, unknown>) => Array<Record<string, unknown>> | undefined;
|
|
5136
|
+
readonly treeSelectionCascade: boolean;
|
|
5137
|
+
readonly auditLog: boolean;
|
|
5138
|
+
readonly columnVisibility: IrisTableColumnVisibility;
|
|
5139
|
+
readonly filterValues: IrisTableFilterValues;
|
|
5140
|
+
readonly onFilterValuesChange: (next: IrisTableFilterValues) => void;
|
|
5141
|
+
readonly contextMenu: IrisTableContextMenuConfig<Record<string, unknown>>;
|
|
5142
|
+
readonly lazyLoad: (row: Record<string, unknown>, load: (children: Array<Record<string, unknown>>) => void) => void;
|
|
5143
|
+
readonly seqStartIndex: number;
|
|
5144
|
+
readonly spanMethod: (params: IrisTableSpanMethodParams) => IrisTableSpan | null;
|
|
5145
|
+
readonly columnDrag: IrisTableColumnDrag<Record<string, unknown>>;
|
|
5146
|
+
readonly rowDrag: IrisTableRowDrag<Record<string, unknown>>;
|
|
5147
|
+
readonly onDataChange: (rows: Array<Record<string, unknown>>) => void;
|
|
5148
|
+
readonly selection: (string | number)[];
|
|
5149
|
+
readonly defaultSelection: (string | number)[];
|
|
5150
|
+
readonly defaultSort: IrisTableSortState | null;
|
|
4687
5151
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
4688
5152
|
/** Public input/event surface inferred from the runtime Vue component. */
|
|
4689
5153
|
type IrisTableProps = InstanceType<typeof IrisTable>['$props'];
|
|
@@ -4696,6 +5160,7 @@ type IrisTableProps = InstanceType<typeof IrisTable>['$props'];
|
|
|
4696
5160
|
* characters, prepend the U+FEFF BOM before writing — `downloadCsv` does this.
|
|
4697
5161
|
*/
|
|
4698
5162
|
declare function exportCsv<Row extends Record<string, unknown>>(rows: readonly Row[], columns: readonly IrisTableColumn<Row>[]): string;
|
|
5163
|
+
|
|
4699
5164
|
/**
|
|
4700
5165
|
* Trigger a download of the given CSV string. A host `FileSaveHandler` (set via
|
|
4701
5166
|
* `setFileSaveHandler`) intercepts it for native save in desktop/mobile shells;
|
|
@@ -5824,8 +6289,8 @@ declare const IrisDescriptions: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
5824
6289
|
}>> & Readonly<{}>, {
|
|
5825
6290
|
items: IrisDescriptionsItem[];
|
|
5826
6291
|
layout: IrisDescriptionsLayout;
|
|
5827
|
-
columns: number;
|
|
5828
6292
|
bordered: boolean;
|
|
6293
|
+
columns: number;
|
|
5829
6294
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
5830
6295
|
|
|
5831
6296
|
interface IrisTransferItem {
|
|
@@ -8387,4 +8852,4 @@ declare const IrisDateRangePicker: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
8387
8852
|
weekStartsOn: number;
|
|
8388
8853
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
8389
8854
|
|
|
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 };
|
|
8855
|
+
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 };
|