@ni/nimble-components 27.1.1 → 27.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/all-components-bundle.js +3 -1
- package/dist/all-components-bundle.js.map +1 -1
- package/dist/all-components-bundle.min.js +3524 -3522
- package/dist/all-components-bundle.min.js.map +1 -1
- package/dist/esm/theme-provider/design-token-comments.js +1 -0
- package/dist/esm/theme-provider/design-token-comments.js.map +1 -1
- package/dist/esm/theme-provider/design-token-names.js +1 -0
- package/dist/esm/theme-provider/design-token-names.js.map +1 -1
- package/dist/esm/theme-provider/design-tokens.d.ts +1 -0
- package/dist/esm/theme-provider/design-tokens.js +1 -0
- package/dist/esm/theme-provider/design-tokens.js.map +1 -1
- package/dist/tokens-internal.scss +6 -0
- package/dist/tokens.scss +3 -0
- package/package.json +2 -31
- package/dist/esm/.storybook/blocks/StoryLayout.d.ts +0 -51
- package/dist/esm/src/all-components.d.ts +0 -62
- package/dist/esm/src/anchor/index.d.ts +0 -36
- package/dist/esm/src/anchor/styles.d.ts +0 -1
- package/dist/esm/src/anchor/template.d.ts +0 -4
- package/dist/esm/src/anchor/types.d.ts +0 -9
- package/dist/esm/src/anchor-base/index.d.ts +0 -6
- package/dist/esm/src/anchor-button/index.d.ts +0 -37
- package/dist/esm/src/anchor-button/styles.d.ts +0 -1
- package/dist/esm/src/anchor-button/template.d.ts +0 -4
- package/dist/esm/src/anchor-button/types.d.ts +0 -5
- package/dist/esm/src/anchor-menu-item/index.d.ts +0 -36
- package/dist/esm/src/anchor-menu-item/styles.d.ts +0 -1
- package/dist/esm/src/anchor-menu-item/template.d.ts +0 -4
- package/dist/esm/src/anchor-tab/index.d.ts +0 -30
- package/dist/esm/src/anchor-tab/styles.d.ts +0 -1
- package/dist/esm/src/anchor-tab/template.d.ts +0 -4
- package/dist/esm/src/anchor-tabs/index.d.ts +0 -60
- package/dist/esm/src/anchor-tabs/styles.d.ts +0 -1
- package/dist/esm/src/anchor-tabs/template.d.ts +0 -4
- package/dist/esm/src/anchor-tree-item/index.d.ts +0 -57
- package/dist/esm/src/anchor-tree-item/styles.d.ts +0 -1
- package/dist/esm/src/anchor-tree-item/template.d.ts +0 -4
- package/dist/esm/src/anchored-region/index.d.ts +0 -12
- package/dist/esm/src/anchored-region/styles.d.ts +0 -1
- package/dist/esm/src/banner/index.d.ts +0 -47
- package/dist/esm/src/banner/styles.d.ts +0 -1
- package/dist/esm/src/banner/template.d.ts +0 -2
- package/dist/esm/src/banner/types.d.ts +0 -19
- package/dist/esm/src/breadcrumb/index.d.ts +0 -14
- package/dist/esm/src/breadcrumb/styles.d.ts +0 -1
- package/dist/esm/src/breadcrumb/types.d.ts +0 -9
- package/dist/esm/src/breadcrumb-item/index.d.ts +0 -12
- package/dist/esm/src/breadcrumb-item/styles.d.ts +0 -1
- package/dist/esm/src/button/index.d.ts +0 -32
- package/dist/esm/src/button/styles.d.ts +0 -1
- package/dist/esm/src/button/types.d.ts +0 -7
- package/dist/esm/src/card/index.d.ts +0 -12
- package/dist/esm/src/card/styles.d.ts +0 -1
- package/dist/esm/src/card/template.d.ts +0 -2
- package/dist/esm/src/card-button/index.d.ts +0 -18
- package/dist/esm/src/card-button/styles.d.ts +0 -1
- package/dist/esm/src/checkbox/index.d.ts +0 -12
- package/dist/esm/src/checkbox/styles.d.ts +0 -1
- package/dist/esm/src/combobox/index.d.ts +0 -234
- package/dist/esm/src/combobox/models/combobox-form-associated.d.ts +0 -16
- package/dist/esm/src/combobox/styles.d.ts +0 -1
- package/dist/esm/src/combobox/template.d.ts +0 -4
- package/dist/esm/src/combobox/types.d.ts +0 -2
- package/dist/esm/src/dialog/index.d.ts +0 -70
- package/dist/esm/src/dialog/styles.d.ts +0 -1
- package/dist/esm/src/dialog/template.d.ts +0 -2
- package/dist/esm/src/drawer/index.d.ts +0 -55
- package/dist/esm/src/drawer/styles.d.ts +0 -1
- package/dist/esm/src/drawer/template.d.ts +0 -2
- package/dist/esm/src/drawer/types.d.ts +0 -5
- package/dist/esm/src/icon-base/index.d.ts +0 -19
- package/dist/esm/src/icon-base/styles.d.ts +0 -1
- package/dist/esm/src/icon-base/template.d.ts +0 -2
- package/dist/esm/src/icon-base/types.d.ts +0 -12
- package/dist/esm/src/icons/add.d.ts +0 -13
- package/dist/esm/src/icons/all-icons.d.ts +0 -185
- package/dist/esm/src/icons/arrow-down-right-and-arrow-up-left.d.ts +0 -13
- package/dist/esm/src/icons/arrow-down.d.ts +0 -13
- package/dist/esm/src/icons/arrow-expander-down.d.ts +0 -13
- package/dist/esm/src/icons/arrow-expander-left.d.ts +0 -13
- package/dist/esm/src/icons/arrow-expander-right.d.ts +0 -13
- package/dist/esm/src/icons/arrow-expander-up.d.ts +0 -13
- package/dist/esm/src/icons/arrow-in-circle.d.ts +0 -13
- package/dist/esm/src/icons/arrow-left-from-line.d.ts +0 -13
- package/dist/esm/src/icons/arrow-out-circle.d.ts +0 -13
- package/dist/esm/src/icons/arrow-partial-rotate-left.d.ts +0 -13
- package/dist/esm/src/icons/arrow-right-to-line.d.ts +0 -13
- package/dist/esm/src/icons/arrow-rotate-right.d.ts +0 -13
- package/dist/esm/src/icons/arrow-u-rotate-left.d.ts +0 -13
- package/dist/esm/src/icons/arrow-up-left-and-arrow-down-right.d.ts +0 -13
- package/dist/esm/src/icons/arrow-up-right-from-square.d.ts +0 -13
- package/dist/esm/src/icons/arrow-up.d.ts +0 -13
- package/dist/esm/src/icons/arrows-maximize.d.ts +0 -13
- package/dist/esm/src/icons/arrows-repeat.d.ts +0 -13
- package/dist/esm/src/icons/at.d.ts +0 -13
- package/dist/esm/src/icons/bars.d.ts +0 -13
- package/dist/esm/src/icons/bell-and-comment.d.ts +0 -13
- package/dist/esm/src/icons/bell-circle.d.ts +0 -13
- package/dist/esm/src/icons/bell-solid-circle.d.ts +0 -13
- package/dist/esm/src/icons/bell.d.ts +0 -13
- package/dist/esm/src/icons/block-with-ribbon.d.ts +0 -13
- package/dist/esm/src/icons/bold-b.d.ts +0 -13
- package/dist/esm/src/icons/book-magnifying-glass.d.ts +0 -13
- package/dist/esm/src/icons/calendar-check-lines.d.ts +0 -13
- package/dist/esm/src/icons/calendar-day.d.ts +0 -13
- package/dist/esm/src/icons/calendar.d.ts +0 -13
- package/dist/esm/src/icons/chart-diagram-child-focus.d.ts +0 -13
- package/dist/esm/src/icons/chart-diagram-parent-focus-two-child.d.ts +0 -13
- package/dist/esm/src/icons/chart-diagram-parent-focus.d.ts +0 -13
- package/dist/esm/src/icons/chart-diagram.d.ts +0 -13
- package/dist/esm/src/icons/check-dot.d.ts +0 -13
- package/dist/esm/src/icons/check-large.d.ts +0 -13
- package/dist/esm/src/icons/check.d.ts +0 -13
- package/dist/esm/src/icons/circle-broken.d.ts +0 -13
- package/dist/esm/src/icons/circle-check.d.ts +0 -13
- package/dist/esm/src/icons/circle-filled.d.ts +0 -13
- package/dist/esm/src/icons/circle-partial-broken.d.ts +0 -13
- package/dist/esm/src/icons/circle-slash.d.ts +0 -13
- package/dist/esm/src/icons/circle-x.d.ts +0 -13
- package/dist/esm/src/icons/circle.d.ts +0 -13
- package/dist/esm/src/icons/clipboard.d.ts +0 -13
- package/dist/esm/src/icons/clock-cog.d.ts +0 -13
- package/dist/esm/src/icons/clock-exclamation.d.ts +0 -13
- package/dist/esm/src/icons/clock-triangle.d.ts +0 -13
- package/dist/esm/src/icons/clock.d.ts +0 -13
- package/dist/esm/src/icons/clone.d.ts +0 -13
- package/dist/esm/src/icons/cloud-upload.d.ts +0 -13
- package/dist/esm/src/icons/cloud-with-arrow.d.ts +0 -13
- package/dist/esm/src/icons/cloud.d.ts +0 -13
- package/dist/esm/src/icons/cog-database-inset.d.ts +0 -13
- package/dist/esm/src/icons/cog-database.d.ts +0 -13
- package/dist/esm/src/icons/cog-small-cog.d.ts +0 -13
- package/dist/esm/src/icons/cog-zoomed.d.ts +0 -13
- package/dist/esm/src/icons/cog.d.ts +0 -13
- package/dist/esm/src/icons/comment.d.ts +0 -13
- package/dist/esm/src/icons/computer-and-monitor.d.ts +0 -13
- package/dist/esm/src/icons/copy-text.d.ts +0 -13
- package/dist/esm/src/icons/copy.d.ts +0 -13
- package/dist/esm/src/icons/dashboard-builder-legend.d.ts +0 -13
- package/dist/esm/src/icons/dashboard-builder-templates.d.ts +0 -13
- package/dist/esm/src/icons/dashboard-builder-tile.d.ts +0 -13
- package/dist/esm/src/icons/dashboard-builder.d.ts +0 -13
- package/dist/esm/src/icons/database-check.d.ts +0 -13
- package/dist/esm/src/icons/database.d.ts +0 -13
- package/dist/esm/src/icons/desktop.d.ts +0 -13
- package/dist/esm/src/icons/donut-chart.d.ts +0 -13
- package/dist/esm/src/icons/dot-solid-dot-stroke-measurement.d.ts +0 -13
- package/dist/esm/src/icons/dot-solid-dot-stroke.d.ts +0 -13
- package/dist/esm/src/icons/down-right-from-square.d.ts +0 -13
- package/dist/esm/src/icons/download.d.ts +0 -13
- package/dist/esm/src/icons/electronic-chip-zoomed.d.ts +0 -13
- package/dist/esm/src/icons/exclamation-mark.d.ts +0 -13
- package/dist/esm/src/icons/eye-dash.d.ts +0 -13
- package/dist/esm/src/icons/eye.d.ts +0 -13
- package/dist/esm/src/icons/fancy-a.d.ts +0 -13
- package/dist/esm/src/icons/file-arrow-curved-right.d.ts +0 -13
- package/dist/esm/src/icons/file-drawer.d.ts +0 -13
- package/dist/esm/src/icons/file-search.d.ts +0 -13
- package/dist/esm/src/icons/file.d.ts +0 -13
- package/dist/esm/src/icons/filter.d.ts +0 -13
- package/dist/esm/src/icons/floppy-disk-checkmark.d.ts +0 -13
- package/dist/esm/src/icons/floppy-disk-pen.d.ts +0 -13
- package/dist/esm/src/icons/floppy-disk-star-arrow-right.d.ts +0 -13
- package/dist/esm/src/icons/floppy-disk-three-dots.d.ts +0 -13
- package/dist/esm/src/icons/floppy-disk.d.ts +0 -13
- package/dist/esm/src/icons/folder-open.d.ts +0 -13
- package/dist/esm/src/icons/folder.d.ts +0 -13
- package/dist/esm/src/icons/forward-slash.d.ts +0 -13
- package/dist/esm/src/icons/four-dots-square.d.ts +0 -13
- package/dist/esm/src/icons/function.d.ts +0 -13
- package/dist/esm/src/icons/gauge-simple.d.ts +0 -13
- package/dist/esm/src/icons/grid-three-by-three.d.ts +0 -13
- package/dist/esm/src/icons/grid-two-by-two.d.ts +0 -13
- package/dist/esm/src/icons/hammer.d.ts +0 -13
- package/dist/esm/src/icons/hashtag.d.ts +0 -13
- package/dist/esm/src/icons/home.d.ts +0 -13
- package/dist/esm/src/icons/horizontal-triangle-outline.d.ts +0 -13
- package/dist/esm/src/icons/hourglass.d.ts +0 -13
- package/dist/esm/src/icons/indent.d.ts +0 -13
- package/dist/esm/src/icons/indeterminant-checkbox.d.ts +0 -13
- package/dist/esm/src/icons/info-circle.d.ts +0 -13
- package/dist/esm/src/icons/info.d.ts +0 -13
- package/dist/esm/src/icons/inward-squares-three.d.ts +0 -13
- package/dist/esm/src/icons/italic-i.d.ts +0 -13
- package/dist/esm/src/icons/key.d.ts +0 -13
- package/dist/esm/src/icons/laptop.d.ts +0 -13
- package/dist/esm/src/icons/layer-group.d.ts +0 -13
- package/dist/esm/src/icons/lightning-bolt.d.ts +0 -13
- package/dist/esm/src/icons/link-cancel.d.ts +0 -13
- package/dist/esm/src/icons/link.d.ts +0 -13
- package/dist/esm/src/icons/list-tree-database.d.ts +0 -13
- package/dist/esm/src/icons/list-tree.d.ts +0 -13
- package/dist/esm/src/icons/list.d.ts +0 -13
- package/dist/esm/src/icons/lock.d.ts +0 -13
- package/dist/esm/src/icons/magnifying-glass.d.ts +0 -13
- package/dist/esm/src/icons/markdown.d.ts +0 -13
- package/dist/esm/src/icons/minus-wide.d.ts +0 -13
- package/dist/esm/src/icons/minus.d.ts +0 -13
- package/dist/esm/src/icons/mobile.d.ts +0 -13
- package/dist/esm/src/icons/ni.d.ts +0 -13
- package/dist/esm/src/icons/notebook.d.ts +0 -13
- package/dist/esm/src/icons/number-list.d.ts +0 -13
- package/dist/esm/src/icons/outdent.d.ts +0 -13
- package/dist/esm/src/icons/outward-squares-three.d.ts +0 -13
- package/dist/esm/src/icons/paste.d.ts +0 -13
- package/dist/esm/src/icons/pause.d.ts +0 -13
- package/dist/esm/src/icons/pencil.d.ts +0 -13
- package/dist/esm/src/icons/play.d.ts +0 -13
- package/dist/esm/src/icons/pot-with-lid.d.ts +0 -13
- package/dist/esm/src/icons/question.d.ts +0 -13
- package/dist/esm/src/icons/rectangle-check-lines.d.ts +0 -13
- package/dist/esm/src/icons/running-arrow.d.ts +0 -13
- package/dist/esm/src/icons/screen-check-lines-calendar.d.ts +0 -13
- package/dist/esm/src/icons/screen-check-lines.d.ts +0 -13
- package/dist/esm/src/icons/server.d.ts +0 -13
- package/dist/esm/src/icons/share-nodes.d.ts +0 -13
- package/dist/esm/src/icons/shield-check.d.ts +0 -13
- package/dist/esm/src/icons/shield-xmark.d.ts +0 -13
- package/dist/esm/src/icons/signal-bars.d.ts +0 -13
- package/dist/esm/src/icons/sine-graph.d.ts +0 -13
- package/dist/esm/src/icons/skip-arrow.d.ts +0 -13
- package/dist/esm/src/icons/spinner.d.ts +0 -13
- package/dist/esm/src/icons/square-check.d.ts +0 -13
- package/dist/esm/src/icons/square-t.d.ts +0 -13
- package/dist/esm/src/icons/square-x.d.ts +0 -13
- package/dist/esm/src/icons/stop-square.d.ts +0 -13
- package/dist/esm/src/icons/systemlink.d.ts +0 -13
- package/dist/esm/src/icons/t.d.ts +0 -13
- package/dist/esm/src/icons/tablet.d.ts +0 -13
- package/dist/esm/src/icons/tag.d.ts +0 -13
- package/dist/esm/src/icons/tags.d.ts +0 -13
- package/dist/esm/src/icons/target-crosshairs-progress.d.ts +0 -13
- package/dist/esm/src/icons/target-crosshairs.d.ts +0 -13
- package/dist/esm/src/icons/three-circles-ascending-container.d.ts +0 -13
- package/dist/esm/src/icons/three-dots-line.d.ts +0 -13
- package/dist/esm/src/icons/three-vertical-lines.d.ts +0 -13
- package/dist/esm/src/icons/thumbtack.d.ts +0 -13
- package/dist/esm/src/icons/tile-size.d.ts +0 -13
- package/dist/esm/src/icons/times.d.ts +0 -13
- package/dist/esm/src/icons/trash.d.ts +0 -13
- package/dist/esm/src/icons/triangle-filled.d.ts +0 -13
- package/dist/esm/src/icons/triangle-two-lines-horizontal.d.ts +0 -13
- package/dist/esm/src/icons/triangle.d.ts +0 -13
- package/dist/esm/src/icons/true-false-rectangle.d.ts +0 -13
- package/dist/esm/src/icons/two-squares-in-brackets.d.ts +0 -13
- package/dist/esm/src/icons/two-triangles-between-lines.d.ts +0 -13
- package/dist/esm/src/icons/unlink.d.ts +0 -13
- package/dist/esm/src/icons/unlock.d.ts +0 -13
- package/dist/esm/src/icons/up-right-from-square.d.ts +0 -13
- package/dist/esm/src/icons/upload.d.ts +0 -13
- package/dist/esm/src/icons/user.d.ts +0 -13
- package/dist/esm/src/icons/watch.d.ts +0 -13
- package/dist/esm/src/icons/waveform.d.ts +0 -13
- package/dist/esm/src/icons/webvi-custom.d.ts +0 -13
- package/dist/esm/src/icons/webvi-host.d.ts +0 -13
- package/dist/esm/src/icons/window-code.d.ts +0 -13
- package/dist/esm/src/icons/window-text.d.ts +0 -13
- package/dist/esm/src/icons/wrench-hammer.d.ts +0 -13
- package/dist/esm/src/icons/xmark-check.d.ts +0 -13
- package/dist/esm/src/icons/xmark.d.ts +0 -13
- package/dist/esm/src/label-provider/base/index.d.ts +0 -19
- package/dist/esm/src/label-provider/core/index.d.ts +0 -41
- package/dist/esm/src/label-provider/core/label-token-defaults.d.ts +0 -6
- package/dist/esm/src/label-provider/core/label-tokens.d.ts +0 -9
- package/dist/esm/src/label-provider/rich-text/index.d.ts +0 -29
- package/dist/esm/src/label-provider/rich-text/label-token-defaults.d.ts +0 -6
- package/dist/esm/src/label-provider/rich-text/label-tokens.d.ts +0 -5
- package/dist/esm/src/label-provider/table/index.d.ts +0 -65
- package/dist/esm/src/label-provider/table/label-token-defaults.d.ts +0 -6
- package/dist/esm/src/label-provider/table/label-tokens.d.ts +0 -17
- package/dist/esm/src/list-option/index.d.ts +0 -37
- package/dist/esm/src/list-option/styles.d.ts +0 -1
- package/dist/esm/src/list-option/template.d.ts +0 -8
- package/dist/esm/src/listbox/index.d.ts +0 -12
- package/dist/esm/src/listbox/styles.d.ts +0 -1
- package/dist/esm/src/mapping/base/index.d.ts +0 -10
- package/dist/esm/src/mapping/base/template.d.ts +0 -1
- package/dist/esm/src/mapping/base/types.d.ts +0 -3
- package/dist/esm/src/mapping/icon/index.d.ts +0 -28
- package/dist/esm/src/mapping/spinner/index.d.ts +0 -17
- package/dist/esm/src/mapping/text/index.d.ts +0 -16
- package/dist/esm/src/mapping/user/index.d.ts +0 -15
- package/dist/esm/src/menu/index.d.ts +0 -12
- package/dist/esm/src/menu/styles.d.ts +0 -1
- package/dist/esm/src/menu-button/index.d.ts +0 -54
- package/dist/esm/src/menu-button/styles.d.ts +0 -1
- package/dist/esm/src/menu-button/template.d.ts +0 -2
- package/dist/esm/src/menu-button/types.d.ts +0 -22
- package/dist/esm/src/menu-item/index.d.ts +0 -13
- package/dist/esm/src/menu-item/styles.d.ts +0 -1
- package/dist/esm/src/number-field/index.d.ts +0 -25
- package/dist/esm/src/number-field/styles.d.ts +0 -1
- package/dist/esm/src/number-field/types.d.ts +0 -9
- package/dist/esm/src/patterns/button/styles.d.ts +0 -2
- package/dist/esm/src/patterns/button/types.d.ts +0 -49
- package/dist/esm/src/patterns/dialog/types.d.ts +0 -6
- package/dist/esm/src/patterns/dropdown/styles.d.ts +0 -1
- package/dist/esm/src/patterns/dropdown/types.d.ts +0 -33
- package/dist/esm/src/patterns/error/styles.d.ts +0 -1
- package/dist/esm/src/patterns/error/template.d.ts +0 -2
- package/dist/esm/src/patterns/error/types.d.ts +0 -10
- package/dist/esm/src/patterns/expand-collapse/styles.d.ts +0 -1
- package/dist/esm/src/radio/index.d.ts +0 -12
- package/dist/esm/src/radio/styles.d.ts +0 -1
- package/dist/esm/src/radio-group/index.d.ts +0 -14
- package/dist/esm/src/radio-group/styles.d.ts +0 -1
- package/dist/esm/src/rich-text/base/index.d.ts +0 -49
- package/dist/esm/src/rich-text/base/types.d.ts +0 -5
- package/dist/esm/src/rich-text/editor/index.d.ts +0 -270
- package/dist/esm/src/rich-text/editor/models/create-tiptap-editor.d.ts +0 -5
- package/dist/esm/src/rich-text/editor/styles.d.ts +0 -1
- package/dist/esm/src/rich-text/editor/template.d.ts +0 -2
- package/dist/esm/src/rich-text/editor/testing/rich-text-editor-utils.d.ts +0 -6
- package/dist/esm/src/rich-text/editor/testing/rich-text-editor.pageobject.d.ts +0 -75
- package/dist/esm/src/rich-text/editor/testing/types.d.ts +0 -31
- package/dist/esm/src/rich-text/editor/types.d.ts +0 -27
- package/dist/esm/src/rich-text/mention-listbox/index.d.ts +0 -116
- package/dist/esm/src/rich-text/mention-listbox/styles.d.ts +0 -1
- package/dist/esm/src/rich-text/mention-listbox/template.d.ts +0 -2
- package/dist/esm/src/rich-text/mention-listbox/types.d.ts +0 -7
- package/dist/esm/src/rich-text/models/configuration.d.ts +0 -10
- package/dist/esm/src/rich-text/models/editor-configuration.d.ts +0 -10
- package/dist/esm/src/rich-text/models/markdown-parser-mention-configuration.d.ts +0 -14
- package/dist/esm/src/rich-text/models/markdown-parser.d.ts +0 -31
- package/dist/esm/src/rich-text/models/markdown-serializer.d.ts +0 -10
- package/dist/esm/src/rich-text/models/mention-extension-configuration.d.ts +0 -19
- package/dist/esm/src/rich-text/models/rich-text-tracker.d.ts +0 -19
- package/dist/esm/src/rich-text/models/rich-text-validator.d.ts +0 -15
- package/dist/esm/src/rich-text/models/testing/markdown-parser-utils.d.ts +0 -5
- package/dist/esm/src/rich-text/viewer/index.d.ts +0 -37
- package/dist/esm/src/rich-text/viewer/styles.d.ts +0 -1
- package/dist/esm/src/rich-text/viewer/template.d.ts +0 -2
- package/dist/esm/src/rich-text/viewer/testing/rich-text-viewer.pageobject.d.ts +0 -27
- package/dist/esm/src/rich-text-mention/base/index.d.ts +0 -53
- package/dist/esm/src/rich-text-mention/base/models/mapping-config.d.ts +0 -8
- package/dist/esm/src/rich-text-mention/base/models/mention-internals.d.ts +0 -47
- package/dist/esm/src/rich-text-mention/base/models/mention-validator.d.ts +0 -30
- package/dist/esm/src/rich-text-mention/base/template.d.ts +0 -2
- package/dist/esm/src/rich-text-mention/base/types.d.ts +0 -10
- package/dist/esm/src/rich-text-mention/base/view/index.d.ts +0 -20
- package/dist/esm/src/rich-text-mention/users/index.d.ts +0 -20
- package/dist/esm/src/rich-text-mention/users/models/mapping-user-config.d.ts +0 -6
- package/dist/esm/src/rich-text-mention/users/models/rich-text-mention-users-validator.d.ts +0 -15
- package/dist/esm/src/rich-text-mention/users/view/index.d.ts +0 -12
- package/dist/esm/src/rich-text-mention/users/view/styles.d.ts +0 -1
- package/dist/esm/src/rich-text-mention/users/view/template.d.ts +0 -2
- package/dist/esm/src/rich-text-mention/users/view/testing/rich-text-mention-users-view.pageobject.d.ts +0 -9
- package/dist/esm/src/select/index.d.ts +0 -281
- package/dist/esm/src/select/models/select-form-associated.d.ts +0 -16
- package/dist/esm/src/select/styles.d.ts +0 -1
- package/dist/esm/src/select/template.d.ts +0 -4
- package/dist/esm/src/select/testing/select.pageobject.d.ts +0 -39
- package/dist/esm/src/select/types.d.ts +0 -14
- package/dist/esm/src/spinner/index.d.ts +0 -20
- package/dist/esm/src/spinner/styles.d.ts +0 -1
- package/dist/esm/src/spinner/template.d.ts +0 -2
- package/dist/esm/src/spinner/types.d.ts +0 -9
- package/dist/esm/src/switch/index.d.ts +0 -12
- package/dist/esm/src/switch/styles.d.ts +0 -1
- package/dist/esm/src/switch/template.d.ts +0 -2
- package/dist/esm/src/tab/index.d.ts +0 -12
- package/dist/esm/src/tab/styles.d.ts +0 -1
- package/dist/esm/src/tab-panel/index.d.ts +0 -12
- package/dist/esm/src/tab-panel/styles.d.ts +0 -1
- package/dist/esm/src/table/components/cell/index.d.ts +0 -30
- package/dist/esm/src/table/components/cell/styles.d.ts +0 -1
- package/dist/esm/src/table/components/cell/template.d.ts +0 -2
- package/dist/esm/src/table/components/group-row/index.d.ts +0 -42
- package/dist/esm/src/table/components/group-row/styles.d.ts +0 -1
- package/dist/esm/src/table/components/group-row/template.d.ts +0 -2
- package/dist/esm/src/table/components/header/index.d.ts +0 -21
- package/dist/esm/src/table/components/header/styles.d.ts +0 -1
- package/dist/esm/src/table/components/header/template.d.ts +0 -2
- package/dist/esm/src/table/components/row/index.d.ts +0 -89
- package/dist/esm/src/table/components/row/styles.d.ts +0 -1
- package/dist/esm/src/table/components/row/template.d.ts +0 -2
- package/dist/esm/src/table/index.d.ts +0 -225
- package/dist/esm/src/table/models/array-to-tree.d.ts +0 -17
- package/dist/esm/src/table/models/data-hierarchy-manager.d.ts +0 -15
- package/dist/esm/src/table/models/expansion-manager.d.ts +0 -33
- package/dist/esm/src/table/models/interactive-selection-manager.d.ts +0 -18
- package/dist/esm/src/table/models/selection-managers/disabled-selection-manager.d.ts +0 -11
- package/dist/esm/src/table/models/selection-managers/multi-selection-manager.d.ts +0 -20
- package/dist/esm/src/table/models/selection-managers/selection-manager-base.d.ts +0 -19
- package/dist/esm/src/table/models/selection-managers/single-selection-manager.d.ts +0 -11
- package/dist/esm/src/table/models/sort-operations.d.ts +0 -7
- package/dist/esm/src/table/models/table-layout-manager.d.ts +0 -62
- package/dist/esm/src/table/models/table-update-tracker.d.ts +0 -33
- package/dist/esm/src/table/models/table-validator.d.ts +0 -32
- package/dist/esm/src/table/models/virtualizer.d.ts +0 -27
- package/dist/esm/src/table/styles.d.ts +0 -1
- package/dist/esm/src/table/template.d.ts +0 -2
- package/dist/esm/src/table/testing/table.pageobject.d.ts +0 -112
- package/dist/esm/src/table/types.d.ts +0 -186
- package/dist/esm/src/table-column/anchor/cell-view/index.d.ts +0 -22
- package/dist/esm/src/table-column/anchor/cell-view/styles.d.ts +0 -1
- package/dist/esm/src/table-column/anchor/cell-view/template.d.ts +0 -2
- package/dist/esm/src/table-column/anchor/index.d.ts +0 -78
- package/dist/esm/src/table-column/base/cell-view/index.d.ts +0 -22
- package/dist/esm/src/table-column/base/cell-view/template.d.ts +0 -3
- package/dist/esm/src/table-column/base/group-header-view/index.d.ts +0 -15
- package/dist/esm/src/table-column/base/group-header-view/template.d.ts +0 -3
- package/dist/esm/src/table-column/base/index.d.ts +0 -36
- package/dist/esm/src/table-column/base/models/column-internals.d.ts +0 -135
- package/dist/esm/src/table-column/base/models/column-validator.d.ts +0 -18
- package/dist/esm/src/table-column/base/styles.d.ts +0 -1
- package/dist/esm/src/table-column/base/template.d.ts +0 -2
- package/dist/esm/src/table-column/base/types.d.ts +0 -39
- package/dist/esm/src/table-column/date-text/cell-view/index.d.ts +0 -14
- package/dist/esm/src/table-column/date-text/group-header-view/index.d.ts +0 -15
- package/dist/esm/src/table-column/date-text/index.d.ts +0 -93
- package/dist/esm/src/table-column/date-text/models/format-helper.d.ts +0 -2
- package/dist/esm/src/table-column/date-text/models/table-column-date-text-validator.d.ts +0 -10
- package/dist/esm/src/table-column/date-text/testing/table-column-date-text.pageobject.d.ts +0 -9
- package/dist/esm/src/table-column/date-text/types.d.ts +0 -23
- package/dist/esm/src/table-column/duration-text/cell-view/index.d.ts +0 -14
- package/dist/esm/src/table-column/duration-text/group-header-view/index.d.ts +0 -15
- package/dist/esm/src/table-column/duration-text/index.d.ts +0 -51
- package/dist/esm/src/table-column/duration-text/models/duration-formatter.d.ts +0 -14
- package/dist/esm/src/table-column/duration-text/testing/table-column-duration-text.pageobject.d.ts +0 -8
- package/dist/esm/src/table-column/enum-base/index.d.ts +0 -47
- package/dist/esm/src/table-column/enum-base/models/mapping-config.d.ts +0 -7
- package/dist/esm/src/table-column/enum-base/models/mapping-icon-config.d.ts +0 -17
- package/dist/esm/src/table-column/enum-base/models/mapping-key-resolver.d.ts +0 -8
- package/dist/esm/src/table-column/enum-base/models/mapping-spinner-config.d.ts +0 -14
- package/dist/esm/src/table-column/enum-base/models/mapping-text-config.d.ts +0 -6
- package/dist/esm/src/table-column/enum-base/models/table-column-enum-base-validator.d.ts +0 -14
- package/dist/esm/src/table-column/enum-base/styles.d.ts +0 -1
- package/dist/esm/src/table-column/enum-base/template.d.ts +0 -3
- package/dist/esm/src/table-column/enum-base/types.d.ts +0 -10
- package/dist/esm/src/table-column/icon/cell-view/index.d.ts +0 -27
- package/dist/esm/src/table-column/icon/cell-view/styles.d.ts +0 -1
- package/dist/esm/src/table-column/icon/cell-view/template.d.ts +0 -2
- package/dist/esm/src/table-column/icon/group-header-view/index.d.ts +0 -23
- package/dist/esm/src/table-column/icon/group-header-view/styles.d.ts +0 -1
- package/dist/esm/src/table-column/icon/group-header-view/template.d.ts +0 -2
- package/dist/esm/src/table-column/icon/index.d.ts +0 -45
- package/dist/esm/src/table-column/icon/models/table-column-icon-validator.d.ts +0 -18
- package/dist/esm/src/table-column/icon/testing/table-column-icon.pageobject.d.ts +0 -23
- package/dist/esm/src/table-column/icon/types.d.ts +0 -8
- package/dist/esm/src/table-column/mixins/fractional-width-column.d.ts +0 -11
- package/dist/esm/src/table-column/mixins/groupable-column.d.ts +0 -11
- package/dist/esm/src/table-column/mixins/placeholder.d.ts +0 -9
- package/dist/esm/src/table-column/number-text/cell-view/index.d.ts +0 -15
- package/dist/esm/src/table-column/number-text/group-header-view/index.d.ts +0 -15
- package/dist/esm/src/table-column/number-text/index.d.ts +0 -73
- package/dist/esm/src/table-column/number-text/models/number-text-unit-format.d.ts +0 -23
- package/dist/esm/src/table-column/number-text/models/table-column-number-text-validator.d.ts +0 -15
- package/dist/esm/src/table-column/number-text/template.d.ts +0 -2
- package/dist/esm/src/table-column/number-text/types.d.ts +0 -18
- package/dist/esm/src/table-column/testing/table-column-formatted-text.pageobject.d.ts +0 -14
- package/dist/esm/src/table-column/text/cell-view/index.d.ts +0 -14
- package/dist/esm/src/table-column/text/group-header-view/index.d.ts +0 -15
- package/dist/esm/src/table-column/text/index.d.ts +0 -45
- package/dist/esm/src/table-column/text-base/cell-view/index.d.ts +0 -37
- package/dist/esm/src/table-column/text-base/cell-view/styles.d.ts +0 -1
- package/dist/esm/src/table-column/text-base/cell-view/template.d.ts +0 -2
- package/dist/esm/src/table-column/text-base/cell-view/types.d.ts +0 -8
- package/dist/esm/src/table-column/text-base/group-header-view/index.d.ts +0 -29
- package/dist/esm/src/table-column/text-base/group-header-view/styles.d.ts +0 -1
- package/dist/esm/src/table-column/text-base/group-header-view/template.d.ts +0 -2
- package/dist/esm/src/table-column/text-base/index.d.ts +0 -27
- package/dist/esm/src/tabs/index.d.ts +0 -13
- package/dist/esm/src/tabs/styles.d.ts +0 -1
- package/dist/esm/src/tabs-toolbar/index.d.ts +0 -12
- package/dist/esm/src/tabs-toolbar/styles.d.ts +0 -1
- package/dist/esm/src/tabs-toolbar/template.d.ts +0 -2
- package/dist/esm/src/testing/async-helpers.d.ts +0 -10
- package/dist/esm/src/text-area/index.d.ts +0 -68
- package/dist/esm/src/text-area/styles.d.ts +0 -1
- package/dist/esm/src/text-area/template.d.ts +0 -4
- package/dist/esm/src/text-area/types.d.ts +0 -7
- package/dist/esm/src/text-field/index.d.ts +0 -32
- package/dist/esm/src/text-field/styles.d.ts +0 -1
- package/dist/esm/src/text-field/types.d.ts +0 -15
- package/dist/esm/src/theme-provider/design-token-comments.d.ts +0 -6
- package/dist/esm/src/theme-provider/design-token-names.d.ts +0 -19
- package/dist/esm/src/theme-provider/design-tokens-static.d.ts +0 -10
- package/dist/esm/src/theme-provider/design-tokens.d.ts +0 -83
- package/dist/esm/src/theme-provider/index.d.ts +0 -30
- package/dist/esm/src/theme-provider/styles.d.ts +0 -1
- package/dist/esm/src/theme-provider/template.d.ts +0 -2
- package/dist/esm/src/theme-provider/types.d.ts +0 -6
- package/dist/esm/src/toggle-button/index.d.ts +0 -36
- package/dist/esm/src/toggle-button/styles.d.ts +0 -1
- package/dist/esm/src/toggle-button/template.d.ts +0 -4
- package/dist/esm/src/toggle-button/types.d.ts +0 -5
- package/dist/esm/src/toolbar/index.d.ts +0 -12
- package/dist/esm/src/toolbar/styles.d.ts +0 -1
- package/dist/esm/src/tooltip/index.d.ts +0 -20
- package/dist/esm/src/tooltip/styles.d.ts +0 -1
- package/dist/esm/src/tooltip/template.d.ts +0 -2
- package/dist/esm/src/tooltip/types.d.ts +0 -10
- package/dist/esm/src/tree-item/index.d.ts +0 -23
- package/dist/esm/src/tree-item/styles.d.ts +0 -1
- package/dist/esm/src/tree-view/index.d.ts +0 -29
- package/dist/esm/src/tree-view/styles.d.ts +0 -1
- package/dist/esm/src/tree-view/template.d.ts +0 -2
- package/dist/esm/src/tree-view/types.d.ts +0 -8
- package/dist/esm/src/unit/base/template.d.ts +0 -1
- package/dist/esm/src/unit/base/unit.d.ts +0 -9
- package/dist/esm/src/unit/byte/index.d.ts +0 -19
- package/dist/esm/src/unit/volt/index.d.ts +0 -13
- package/dist/esm/src/utilities/directive/overflow.d.ts +0 -36
- package/dist/esm/src/utilities/models/converter.d.ts +0 -2
- package/dist/esm/src/utilities/models/document-element-lang.d.ts +0 -9
- package/dist/esm/src/utilities/models/string-normalizers.d.ts +0 -5
- package/dist/esm/src/utilities/models/tracker.d.ts +0 -21
- package/dist/esm/src/utilities/models/update-tracker.d.ts +0 -7
- package/dist/esm/src/utilities/models/validator.d.ts +0 -11
- package/dist/esm/src/utilities/style/accessibly-hidden.d.ts +0 -6
- package/dist/esm/src/utilities/style/appearance.d.ts +0 -11
- package/dist/esm/src/utilities/style/colors.d.ts +0 -8
- package/dist/esm/src/utilities/style/direction.d.ts +0 -34
- package/dist/esm/src/utilities/style/focus.d.ts +0 -11
- package/dist/esm/src/utilities/style/multivalue-property-stylesheet-behavior.d.ts +0 -37
- package/dist/esm/src/utilities/style/prefers-reduced-motion.d.ts +0 -4
- package/dist/esm/src/utilities/style/theme.d.ts +0 -37
- package/dist/esm/src/utilities/style/types.d.ts +0 -5
- package/dist/esm/src/utilities/style/user-select.d.ts +0 -5
- package/dist/esm/src/utilities/unit-format/decimal-unit-format.d.ts +0 -19
- package/dist/esm/src/utilities/unit-format/default-unit-format.d.ts +0 -22
- package/dist/esm/src/utilities/unit-format/scaled-unit/scaled-unit.d.ts +0 -16
- package/dist/esm/src/utilities/unit-format/scaled-unit-format/intl-number-format-scaled-unit-format.d.ts +0 -11
- package/dist/esm/src/utilities/unit-format/scaled-unit-format/manually-translated-scaled-unit-format.d.ts +0 -43
- package/dist/esm/src/utilities/unit-format/scaled-unit-format/scaled-unit-format.d.ts +0 -10
- package/dist/esm/src/utilities/unit-format/unit-format.d.ts +0 -16
- package/dist/esm/src/utilities/unit-format/unit-scale/byte-1024-unit-scale.d.ts +0 -9
- package/dist/esm/src/utilities/unit-format/unit-scale/byte-unit-scale.d.ts +0 -9
- package/dist/esm/src/utilities/unit-format/unit-scale/passthrough-unit-scale.d.ts +0 -9
- package/dist/esm/src/utilities/unit-format/unit-scale/unit-scale.d.ts +0 -15
- package/dist/esm/src/utilities/unit-format/unit-scale/utilities/metrix-prefixes.d.ts +0 -1
- package/dist/esm/src/utilities/unit-format/unit-scale/volt-unit-scale.d.ts +0 -9
- package/dist/esm/src/utilities/wait-until-custom-elements-defined-async.d.ts +0 -1
- package/dist/esm/src/wafer-map/index.d.ts +0 -145
- package/dist/esm/src/wafer-map/modules/computations.d.ts +0 -39
- package/dist/esm/src/wafer-map/modules/create-matrix-renderer.d.ts +0 -10
- package/dist/esm/src/wafer-map/modules/data-manager.d.ts +0 -30
- package/dist/esm/src/wafer-map/modules/experimental/computations.d.ts +0 -30
- package/dist/esm/src/wafer-map/modules/experimental/data-manager.d.ts +0 -21
- package/dist/esm/src/wafer-map/modules/experimental/hover-handler.d.ts +0 -19
- package/dist/esm/src/wafer-map/modules/experimental/prerendering.d.ts +0 -18
- package/dist/esm/src/wafer-map/modules/experimental/worker-renderer.d.ts +0 -13
- package/dist/esm/src/wafer-map/modules/hover-handler.d.ts +0 -20
- package/dist/esm/src/wafer-map/modules/prerendering.d.ts +0 -30
- package/dist/esm/src/wafer-map/modules/rendering.d.ts +0 -19
- package/dist/esm/src/wafer-map/modules/wafer-map-update-tracker.d.ts +0 -25
- package/dist/esm/src/wafer-map/modules/wafer-map-validator.d.ts +0 -16
- package/dist/esm/src/wafer-map/modules/zoom-handler.d.ts +0 -22
- package/dist/esm/src/wafer-map/styles.d.ts +0 -1
- package/dist/esm/src/wafer-map/template.d.ts +0 -2
- package/dist/esm/src/wafer-map/types.d.ts +0 -79
- package/dist/esm/src/wafer-map/workers/matrix-renderer.d.ts +0 -1
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import type { Table } from '..';
|
|
2
|
-
import type { TableHeader } from '../components/header';
|
|
3
|
-
import { TableColumnSortDirection, TableRecord, TableRowSelectionState } from '../types';
|
|
4
|
-
import type { MenuButton } from '../../menu-button';
|
|
5
|
-
import type { TableGroupHeaderView } from '../../table-column/base/group-header-view';
|
|
6
|
-
import { TableCellView } from '../../table-column/base/cell-view';
|
|
7
|
-
import { Anchor } from '../../anchor';
|
|
8
|
-
/**
|
|
9
|
-
* Summary information about a column that is sorted in the table for use in the `TablePageObject`.
|
|
10
|
-
*/
|
|
11
|
-
export interface SortedColumn {
|
|
12
|
-
columnId?: string;
|
|
13
|
-
sortDirection: TableColumnSortDirection;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Page object for the `nimble-table` component to provide consistent ways
|
|
17
|
-
* of querying and interacting with the component during tests.
|
|
18
|
-
*/
|
|
19
|
-
export declare class TablePageObject<T extends TableRecord> {
|
|
20
|
-
private readonly tableElement;
|
|
21
|
-
constructor(tableElement: Table<T>);
|
|
22
|
-
getRenderedHeaderCount(): number;
|
|
23
|
-
getRenderedCellCountForRow(rowIndex: number): number;
|
|
24
|
-
getHeaderContent(columnIndex: number): Node | undefined;
|
|
25
|
-
getHeaderElement(columnIndex: number): TableHeader;
|
|
26
|
-
getHeaderTitle(columnIndex: number): string;
|
|
27
|
-
dispatchEventToHeader(columnIndex: number, event: Event): boolean | undefined;
|
|
28
|
-
getHeaderRenderedWidth(columnIndex: number): number;
|
|
29
|
-
clickColumnHeader(columnIndex: number, shiftKeyDown?: boolean): Promise<void>;
|
|
30
|
-
getRenderedRowCount(): number;
|
|
31
|
-
getRenderedGroupRowCount(): number;
|
|
32
|
-
getAllGroupRowsExpandedState(): boolean[];
|
|
33
|
-
getAllDataRowsExpandedState(): boolean[];
|
|
34
|
-
getRenderedCellView(rowIndex: number, columnIndex: number): TableCellView;
|
|
35
|
-
getRenderedCellViewById(recordId: string, columnId: string): TableCellView;
|
|
36
|
-
getRenderedCellTextContent(rowIndex: number, columnIndex: number): string;
|
|
37
|
-
getRenderedCellAnchor(rowIndex: number, columnIndex: number): Anchor;
|
|
38
|
-
getRenderedIconColumnCellIconTagName(rowIndex: number, columnIndex: number): string;
|
|
39
|
-
getRenderedGroupHeaderTextContent(groupRowIndex: number): string;
|
|
40
|
-
getAllRenderedGroupHeaderTextContent(): string[];
|
|
41
|
-
getCellTitle(rowIndex: number, columnIndex: number): string;
|
|
42
|
-
dispatchEventToCell(rowIndex: number, columnIndex: number, event: Event): boolean | undefined;
|
|
43
|
-
getGroupHeaderTitle(groupRowIndex: number): string;
|
|
44
|
-
dispatchEventToGroupHeader(groupRowIndex: number, event: Event): boolean | undefined;
|
|
45
|
-
getRecordId(rowIndex: number): string | undefined;
|
|
46
|
-
getRowWidth(): number;
|
|
47
|
-
sizeTableToGivenRowWidth(rowWidth: number, table: Table<T>): Promise<void>;
|
|
48
|
-
getCellRenderedWidth(rowIndex: number, columnIndex: number): number;
|
|
49
|
-
getTotalCellRenderedWidth(): number;
|
|
50
|
-
scrollToLastRowAsync(): Promise<void>;
|
|
51
|
-
getCellActionMenu(rowIndex: number, columnIndex: number): MenuButton | null;
|
|
52
|
-
clickCellActionMenu(rowIndex: number, columnIndex: number): Promise<void>;
|
|
53
|
-
isCellActionMenuVisible(rowIndex: number, columnIndex: number): boolean;
|
|
54
|
-
setRowHoverState(rowIndex: number, hover: boolean): void;
|
|
55
|
-
clickGroupRow(groupRowIndex: number): Promise<void>;
|
|
56
|
-
clickRow(rowIndex: number, modifiers?: {
|
|
57
|
-
shiftKey?: boolean;
|
|
58
|
-
ctrlKey?: boolean;
|
|
59
|
-
}): Promise<void>;
|
|
60
|
-
getIsRowSelectable(rowIndex: number): boolean;
|
|
61
|
-
getIsRowSelected(rowIndex: number): boolean;
|
|
62
|
-
toggleGroupRowExpandedState(groupRowIndex: number): void;
|
|
63
|
-
clickCollapseAllButton(): void;
|
|
64
|
-
clickDataRowExpandCollapseButton(rowIndex: number): void;
|
|
65
|
-
isCollapseAllButtonVisible(): boolean;
|
|
66
|
-
isDataRowExpandCollapseButtonVisible(rowIndex: number): boolean;
|
|
67
|
-
isDataRowLoadingSpinnerVisible(rowIndex: number): boolean;
|
|
68
|
-
isTableSelectionCheckboxVisible(): boolean;
|
|
69
|
-
getTableSelectionState(): TableRowSelectionState;
|
|
70
|
-
clickTableSelectionCheckbox(): void;
|
|
71
|
-
isRowSelectionCheckboxVisible(rowIndex: number): boolean;
|
|
72
|
-
getRowSelectionState(rowIndex: number): TableRowSelectionState;
|
|
73
|
-
clickRowSelectionCheckbox(rowIndex: number, shiftKey?: boolean): void;
|
|
74
|
-
getGroupRowSelectionState(groupRowIndex: number): TableRowSelectionState;
|
|
75
|
-
clickGroupRowSelectionCheckbox(groupRowIndex: number, shiftKey?: boolean): void;
|
|
76
|
-
/**
|
|
77
|
-
* @param columnIndex The index of the column to the left of a divider being dragged. Thus, this
|
|
78
|
-
* can not be given a value representing the last visible column index.
|
|
79
|
-
* @param deltas The series of mouse movements in the x-direction while sizing a column.
|
|
80
|
-
*/
|
|
81
|
-
dragSizeColumnByRightDivider(columnIndex: number, deltas: readonly number[]): void;
|
|
82
|
-
/**
|
|
83
|
-
* @param columnIndex The index of the column to the right of a divider being dragged. Thus, this
|
|
84
|
-
* value must be greater than 0 and less than the total number of visible columns.
|
|
85
|
-
* @param deltas The series of mouse movements in the x-direction while sizing a column.
|
|
86
|
-
*/
|
|
87
|
-
dragSizeColumnByLeftDivider(columnIndex: number, deltas: readonly number[]): void;
|
|
88
|
-
getColumnRightDivider(index: number): HTMLElement | null;
|
|
89
|
-
getColumnLeftDivider(index: number): HTMLElement | null;
|
|
90
|
-
isVerticalScrollbarVisible(): boolean;
|
|
91
|
-
isHorizontalScrollbarVisible(): boolean;
|
|
92
|
-
getSortedColumns(): SortedColumn[];
|
|
93
|
-
getGroupedColumns(): string[];
|
|
94
|
-
getChildRowCountForGroup(groupRowIndex: number): number;
|
|
95
|
-
/** @internal */
|
|
96
|
-
getGroupRowHeaderView(groupRowIndex: number): TableGroupHeaderView;
|
|
97
|
-
private getRow;
|
|
98
|
-
private getRowById;
|
|
99
|
-
private getCell;
|
|
100
|
-
private getCellById;
|
|
101
|
-
private getCollapseAllButton;
|
|
102
|
-
private getExpandCollapseButtonForRow;
|
|
103
|
-
private getSelectionCheckboxForRow;
|
|
104
|
-
private getSelectionCheckboxForGroupRow;
|
|
105
|
-
private getSelectionCheckboxForTable;
|
|
106
|
-
private isCheckboxVisible;
|
|
107
|
-
private getSelectionStateOfCheckbox;
|
|
108
|
-
private getGroupRow;
|
|
109
|
-
private getHeaderContentElement;
|
|
110
|
-
private getRenderedIconColumnIconOrSpinner;
|
|
111
|
-
private readonly isSlotElement;
|
|
112
|
-
}
|
|
@@ -1,186 +0,0 @@
|
|
|
1
|
-
import type { TableColumn } from '../table-column/base';
|
|
2
|
-
import type { ValidityObject } from '../utilities/models/validator';
|
|
3
|
-
/**
|
|
4
|
-
* TableFieldName describes the type associated with keys within
|
|
5
|
-
* a table's records.
|
|
6
|
-
*/
|
|
7
|
-
export type TableFieldName = string;
|
|
8
|
-
/**
|
|
9
|
-
* TableFieldValue describes the type associated with values within
|
|
10
|
-
* a table's records.
|
|
11
|
-
*/
|
|
12
|
-
export type TableFieldValue = string | number | boolean | null | undefined;
|
|
13
|
-
/**
|
|
14
|
-
* TableStringFieldValue describes the type associated with values within
|
|
15
|
-
* a table's string records.
|
|
16
|
-
*/
|
|
17
|
-
export type TableStringFieldValue = string | null | undefined;
|
|
18
|
-
/**
|
|
19
|
-
* TableBooleanFieldValue describes the type associated with values within
|
|
20
|
-
* a table's boolean records.
|
|
21
|
-
*/
|
|
22
|
-
export type TableBooleanFieldValue = boolean | null | undefined;
|
|
23
|
-
/**
|
|
24
|
-
* TableNumberFieldValue describes the type associated with values within
|
|
25
|
-
* a table's number records.
|
|
26
|
-
*/
|
|
27
|
-
export type TableNumberFieldValue = number | null | undefined;
|
|
28
|
-
/**
|
|
29
|
-
* TableRecord describes the data structure that backs a single row in a table.
|
|
30
|
-
* It is made up of fields, which are key/value pairs that have a key of type
|
|
31
|
-
* TableFieldName and a value of type TableFieldValue.
|
|
32
|
-
*/
|
|
33
|
-
export interface TableRecord {
|
|
34
|
-
[key: TableFieldName]: TableFieldValue;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*
|
|
39
|
-
* Describes a hierarchical data structure that is used for
|
|
40
|
-
* the internal representation of the data, and allows us to represent data with
|
|
41
|
-
* parent-child relationships within Tanstack.
|
|
42
|
-
*/
|
|
43
|
-
export interface TableNode<TRecord extends TableRecord = TableRecord> {
|
|
44
|
-
subRows?: TableNode<TRecord>[];
|
|
45
|
-
originalIndex: number;
|
|
46
|
-
clientRecord: TRecord;
|
|
47
|
-
}
|
|
48
|
-
export type TableStringField<FieldName extends TableFieldName> = {
|
|
49
|
-
[name in FieldName]: TableStringFieldValue;
|
|
50
|
-
};
|
|
51
|
-
export type TableBooleanField<FieldName extends TableFieldName> = {
|
|
52
|
-
[name in FieldName]: TableBooleanFieldValue;
|
|
53
|
-
};
|
|
54
|
-
export type TableNumberField<FieldName extends TableFieldName> = {
|
|
55
|
-
[name in FieldName]: TableNumberFieldValue;
|
|
56
|
-
};
|
|
57
|
-
export interface TableValidity extends ValidityObject {
|
|
58
|
-
readonly duplicateRecordId: boolean;
|
|
59
|
-
readonly missingRecordId: boolean;
|
|
60
|
-
readonly invalidRecordId: boolean;
|
|
61
|
-
readonly duplicateColumnId: boolean;
|
|
62
|
-
readonly missingColumnId: boolean;
|
|
63
|
-
readonly duplicateSortIndex: boolean;
|
|
64
|
-
readonly duplicateGroupIndex: boolean;
|
|
65
|
-
readonly idFieldNameNotConfigured: boolean;
|
|
66
|
-
readonly invalidColumnConfiguration: boolean;
|
|
67
|
-
readonly invalidParentIdConfiguration: boolean;
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* The hierarachy options for a record in the table.
|
|
71
|
-
*/
|
|
72
|
-
export interface TableSetRecordHierarchyOptions {
|
|
73
|
-
recordId: string;
|
|
74
|
-
options: TableRecordHierarchyOptions;
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Describes the hierarchy options that can be configured for a record in the table.
|
|
78
|
-
*/
|
|
79
|
-
export interface TableRecordHierarchyOptions {
|
|
80
|
-
delayedHierarchyState: TableRecordDelayedHierarchyState;
|
|
81
|
-
}
|
|
82
|
-
export declare const TableRecordDelayedHierarchyState: {
|
|
83
|
-
readonly none: undefined;
|
|
84
|
-
readonly canLoadChildren: "can-load-children";
|
|
85
|
-
readonly loadingChildren: "loading-children";
|
|
86
|
-
};
|
|
87
|
-
export type TableRecordDelayedHierarchyState = (typeof TableRecordDelayedHierarchyState)[keyof typeof TableRecordDelayedHierarchyState];
|
|
88
|
-
export interface TableActionMenuToggleEventDetail {
|
|
89
|
-
newState: boolean;
|
|
90
|
-
oldState: boolean;
|
|
91
|
-
recordIds: string[];
|
|
92
|
-
columnId?: string;
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* The possible directions a table column can be sorted in.
|
|
96
|
-
*/
|
|
97
|
-
export declare const TableColumnSortDirection: {
|
|
98
|
-
readonly none: undefined;
|
|
99
|
-
readonly ascending: "ascending";
|
|
100
|
-
readonly descending: "descending";
|
|
101
|
-
};
|
|
102
|
-
export type TableColumnSortDirection = (typeof TableColumnSortDirection)[keyof typeof TableColumnSortDirection];
|
|
103
|
-
/**
|
|
104
|
-
* The selection modes of rows in the table.
|
|
105
|
-
*/
|
|
106
|
-
export declare const TableRowSelectionMode: {
|
|
107
|
-
readonly none: undefined;
|
|
108
|
-
readonly single: "single";
|
|
109
|
-
readonly multiple: "multiple";
|
|
110
|
-
};
|
|
111
|
-
export type TableRowSelectionMode = (typeof TableRowSelectionMode)[keyof typeof TableRowSelectionMode];
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*
|
|
115
|
-
* The possible selection states that the table or a table row can be in.
|
|
116
|
-
*/
|
|
117
|
-
export declare const TableRowSelectionState: {
|
|
118
|
-
readonly notSelected: "not-selected";
|
|
119
|
-
readonly selected: "selected";
|
|
120
|
-
readonly partiallySelected: "partially-selected";
|
|
121
|
-
};
|
|
122
|
-
export type TableRowSelectionState = (typeof TableRowSelectionState)[keyof typeof TableRowSelectionState];
|
|
123
|
-
/**
|
|
124
|
-
* @internal
|
|
125
|
-
*
|
|
126
|
-
* Internal event detail type for a row's selection state changing
|
|
127
|
-
*/
|
|
128
|
-
export interface TableRowSelectionToggleEventDetail {
|
|
129
|
-
oldState: boolean;
|
|
130
|
-
newState: boolean;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Event detail type for row selection events in the table.
|
|
134
|
-
*/
|
|
135
|
-
export interface TableRowSelectionEventDetail {
|
|
136
|
-
selectedRecordIds: string[];
|
|
137
|
-
}
|
|
138
|
-
/**
|
|
139
|
-
* Event detail type for row toggle events in the table.
|
|
140
|
-
*/
|
|
141
|
-
export interface TableRowExpansionToggleEventDetail {
|
|
142
|
-
oldState: boolean;
|
|
143
|
-
newState: boolean;
|
|
144
|
-
recordId: string;
|
|
145
|
-
}
|
|
146
|
-
/**
|
|
147
|
-
* Event detail type for interactive column configuration changes.
|
|
148
|
-
*
|
|
149
|
-
* The column-configuration-change event is emitted when a column's configuration
|
|
150
|
-
* is modified programmatically, such as by clicking on the column's header to sort
|
|
151
|
-
* the column. The items in the `columns` array are specified in the same order as
|
|
152
|
-
* the columns are listed in the DOM.
|
|
153
|
-
*/
|
|
154
|
-
export interface TableColumnConfigurationChangeEventDetail {
|
|
155
|
-
columns: TableColumnConfiguration[];
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* A representation of the current configuration of a column within the table.
|
|
159
|
-
*/
|
|
160
|
-
export interface TableColumnConfiguration {
|
|
161
|
-
columnId?: string;
|
|
162
|
-
sortIndex?: number;
|
|
163
|
-
sortDirection: TableColumnSortDirection;
|
|
164
|
-
groupIndex?: number;
|
|
165
|
-
hidden: boolean;
|
|
166
|
-
fractionalWidth: number;
|
|
167
|
-
pixelWidth?: number;
|
|
168
|
-
}
|
|
169
|
-
/**
|
|
170
|
-
* @internal
|
|
171
|
-
*
|
|
172
|
-
* Internal representation of a row in the table
|
|
173
|
-
*/
|
|
174
|
-
export interface TableRowState<TData extends TableRecord = TableRecord> {
|
|
175
|
-
record: TData;
|
|
176
|
-
id: string;
|
|
177
|
-
selectionState: TableRowSelectionState;
|
|
178
|
-
isGroupRow: boolean;
|
|
179
|
-
groupRowValue?: unknown;
|
|
180
|
-
isExpanded: boolean;
|
|
181
|
-
nestingLevel?: number;
|
|
182
|
-
immediateChildCount?: number;
|
|
183
|
-
groupColumn?: TableColumn;
|
|
184
|
-
isParentRow: boolean;
|
|
185
|
-
isLoadingChildren: boolean;
|
|
186
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { TableColumnAnchorCellRecord, TableColumnAnchorColumnConfig } from '..';
|
|
2
|
-
import type { Anchor } from '../../../anchor';
|
|
3
|
-
import { TableCellView } from '../../base/cell-view';
|
|
4
|
-
declare global {
|
|
5
|
-
interface HTMLElementTagNameMap {
|
|
6
|
-
'nimble-table-column-anchor-cell-view': TableColumnAnchorCellView;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* A cell view for displaying links
|
|
11
|
-
*/
|
|
12
|
-
export declare class TableColumnAnchorCellView extends TableCellView<TableColumnAnchorCellRecord, TableColumnAnchorColumnConfig> {
|
|
13
|
-
/** @internal */
|
|
14
|
-
hasOverflow: boolean;
|
|
15
|
-
/** @internal */
|
|
16
|
-
isPlaceholder: boolean;
|
|
17
|
-
/** @internal */
|
|
18
|
-
anchor?: Anchor;
|
|
19
|
-
get text(): string;
|
|
20
|
-
focusedRecycleCallback(): void;
|
|
21
|
-
}
|
|
22
|
-
export declare const tableColumnAnchorCellViewTag = "nimble-table-column-anchor-cell-view";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { TableColumn } from '../base';
|
|
2
|
-
import type { TableStringField } from '../../table/types';
|
|
3
|
-
import type { AnchorAppearance } from '../../anchor/types';
|
|
4
|
-
import type { ColumnInternalsOptions } from '../base/models/column-internals';
|
|
5
|
-
import { ColumnValidator } from '../base/models/column-validator';
|
|
6
|
-
export type TableColumnAnchorCellRecord = TableStringField<'label' | 'href'>;
|
|
7
|
-
export interface TableColumnAnchorColumnConfig {
|
|
8
|
-
appearance: AnchorAppearance;
|
|
9
|
-
underlineHidden?: boolean;
|
|
10
|
-
hreflang?: string;
|
|
11
|
-
ping?: string;
|
|
12
|
-
referrerpolicy?: string;
|
|
13
|
-
rel?: string;
|
|
14
|
-
target?: string;
|
|
15
|
-
type?: string;
|
|
16
|
-
download?: string;
|
|
17
|
-
placeholder?: string;
|
|
18
|
-
}
|
|
19
|
-
declare global {
|
|
20
|
-
interface HTMLElementTagNameMap {
|
|
21
|
-
'nimble-table-column-anchor': TableColumnAnchor;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
declare const TableColumnAnchor_base: (abstract new (...args: any[]) => {
|
|
25
|
-
groupingDisabled: boolean;
|
|
26
|
-
groupIndex?: number | null | undefined;
|
|
27
|
-
groupingDisabledChanged(): void;
|
|
28
|
-
groupIndexChanged(): void;
|
|
29
|
-
readonly columnInternals: import("../base/models/column-internals").ColumnInternals<unknown, ColumnValidator<[]>>;
|
|
30
|
-
}) & (abstract new (...args: any[]) => {
|
|
31
|
-
fractionalWidth?: number | null | undefined;
|
|
32
|
-
minPixelWidth?: number | null | undefined;
|
|
33
|
-
fractionalWidthChanged(): void;
|
|
34
|
-
minPixelWidthChanged(): void;
|
|
35
|
-
readonly columnInternals: import("../base/models/column-internals").ColumnInternals<unknown, ColumnValidator<[]>>;
|
|
36
|
-
}) & (abstract new (...args: any[]) => {
|
|
37
|
-
placeholder?: string | undefined;
|
|
38
|
-
placeholderChanged(): void;
|
|
39
|
-
}) & ((abstract new () => TableColumn<TableColumnAnchorColumnConfig, ColumnValidator<[]>>) & {
|
|
40
|
-
compose<T extends import("@microsoft/fast-foundation").FoundationElementDefinition = import("@microsoft/fast-foundation").FoundationElementDefinition, K extends import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement> = import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>(this: K, elementDefinition: T): (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<T> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<T, K>;
|
|
41
|
-
from<TBase extends {
|
|
42
|
-
new (): HTMLElement;
|
|
43
|
-
prototype: HTMLElement;
|
|
44
|
-
}>(BaseType: TBase): new () => InstanceType<TBase> & import("@microsoft/fast-element").FASTElement;
|
|
45
|
-
define<TType extends Function>(type: TType, nameOrDef?: string | import("@microsoft/fast-element").PartialFASTElementDefinition | undefined): TType;
|
|
46
|
-
});
|
|
47
|
-
/**
|
|
48
|
-
* A table column for displaying links.
|
|
49
|
-
*/
|
|
50
|
-
export declare class TableColumnAnchor extends TableColumnAnchor_base {
|
|
51
|
-
labelFieldName?: string;
|
|
52
|
-
hrefFieldName?: string;
|
|
53
|
-
appearance?: AnchorAppearance;
|
|
54
|
-
underlineHidden: boolean;
|
|
55
|
-
hreflang?: string;
|
|
56
|
-
ping?: string;
|
|
57
|
-
referrerpolicy?: string;
|
|
58
|
-
rel?: string;
|
|
59
|
-
target?: string;
|
|
60
|
-
type?: string;
|
|
61
|
-
download?: string;
|
|
62
|
-
placeholderChanged(): void;
|
|
63
|
-
protected getColumnInternalsOptions(): ColumnInternalsOptions;
|
|
64
|
-
protected labelFieldNameChanged(): void;
|
|
65
|
-
protected hrefFieldNameChanged(): void;
|
|
66
|
-
protected appearanceChanged(): void;
|
|
67
|
-
protected underlineHiddenChanged(): void;
|
|
68
|
-
protected hreflangChanged(): void;
|
|
69
|
-
protected pingChanged(): void;
|
|
70
|
-
protected referrerpolicyChanged(): void;
|
|
71
|
-
protected relChanged(): void;
|
|
72
|
-
protected targetChanged(): void;
|
|
73
|
-
protected typeChanged(): void;
|
|
74
|
-
protected downloadChanged(): void;
|
|
75
|
-
private updateColumnConfig;
|
|
76
|
-
}
|
|
77
|
-
export declare const tableColumnAnchorTag = "nimble-table-column-anchor";
|
|
78
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { TableColumn } from '..';
|
|
3
|
-
import type { TableCellRecord, TableCellState } from '../types';
|
|
4
|
-
/**
|
|
5
|
-
* Base class for table cell views, which are used within the nimble-table-cell.
|
|
6
|
-
* Each TableColumn type has a corresponding TableCellView type (linked via TableColumn.cellViewTag).
|
|
7
|
-
*/
|
|
8
|
-
export declare abstract class TableCellView<TCellRecord extends TableCellRecord = TableCellRecord, TColumnConfig = unknown> extends FoundationElement implements TableCellState<TCellRecord, TColumnConfig> {
|
|
9
|
-
cellRecord?: TCellRecord;
|
|
10
|
-
columnConfig?: TColumnConfig;
|
|
11
|
-
column?: TableColumn<TColumnConfig>;
|
|
12
|
-
recordId?: string;
|
|
13
|
-
private delegatedEvents;
|
|
14
|
-
/**
|
|
15
|
-
* Called if an element inside this cell view has focus, and this row/cell is being recycled.
|
|
16
|
-
* Expected implementation is to commit changes as needed, and blur the focusable element (or close
|
|
17
|
-
* the menu/popup/etc).
|
|
18
|
-
*/
|
|
19
|
-
focusedRecycleCallback(): void;
|
|
20
|
-
columnChanged(): void;
|
|
21
|
-
private delegatedEventHandler;
|
|
22
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import type { TableFieldValue } from '../../../table/types';
|
|
3
|
-
export interface TableGroupHeaderState<TGroupValue = TableFieldValue, TColumnConfig = unknown> {
|
|
4
|
-
groupHeaderValue?: TGroupValue;
|
|
5
|
-
columnConfig?: TColumnConfig;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* The base class for group header views, which are displayed in a TableGroupRow.
|
|
9
|
-
* A TableColumn that uses the GroupableColumn mixin must provide a TableGroupHeaderView
|
|
10
|
-
* type (linked via TableColumn.groupHeaderViewTag).
|
|
11
|
-
*/
|
|
12
|
-
export declare abstract class TableGroupHeaderView<TGroupValue = TableFieldValue, TColumnConfig = unknown> extends FoundationElement implements TableGroupHeaderState<TGroupValue, TColumnConfig> {
|
|
13
|
-
groupHeaderValue?: TGroupValue;
|
|
14
|
-
columnConfig?: TColumnConfig;
|
|
15
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
|
-
import { TableColumnSortDirection } from '../../table/types';
|
|
3
|
-
import { ColumnInternals, ColumnInternalsOptions } from './models/column-internals';
|
|
4
|
-
import type { TableColumnValidity } from './types';
|
|
5
|
-
import type { ColumnValidator } from './models/column-validator';
|
|
6
|
-
/**
|
|
7
|
-
* The base class for table columns
|
|
8
|
-
*/
|
|
9
|
-
export declare abstract class TableColumn<TColumnConfig = unknown, TColumnValidator extends ColumnValidator<[]> = ColumnValidator<[]>> extends FoundationElement {
|
|
10
|
-
/**
|
|
11
|
-
* @internal
|
|
12
|
-
*
|
|
13
|
-
* Column properties configurable by plugin authors
|
|
14
|
-
*/
|
|
15
|
-
readonly columnInternals: ColumnInternals<TColumnConfig, TColumnValidator>;
|
|
16
|
-
columnId?: string;
|
|
17
|
-
actionMenuSlot?: string;
|
|
18
|
-
actionMenuLabel?: string;
|
|
19
|
-
columnHidden: boolean;
|
|
20
|
-
sortIndex?: number | null;
|
|
21
|
-
sortDirection: TableColumnSortDirection;
|
|
22
|
-
sortingDisabled: boolean;
|
|
23
|
-
/** @internal */
|
|
24
|
-
hasOverflow: boolean;
|
|
25
|
-
/** @internal */
|
|
26
|
-
contentSlot: HTMLSlotElement;
|
|
27
|
-
checkValidity(): boolean;
|
|
28
|
-
get validity(): TableColumnValidity;
|
|
29
|
-
/** @internal */
|
|
30
|
-
get headerTextContent(): string;
|
|
31
|
-
connectedCallback(): void;
|
|
32
|
-
protected abstract getColumnInternalsOptions(): ColumnInternalsOptions<TColumnValidator>;
|
|
33
|
-
protected sortDirectionChanged(): void;
|
|
34
|
-
protected sortIndexChanged(): void;
|
|
35
|
-
protected sortingDisabledChanged(): void;
|
|
36
|
-
}
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { ViewTemplate } from '@microsoft/fast-element';
|
|
2
|
-
import { TableColumnSortDirection, TableFieldName } from '../../../table/types';
|
|
3
|
-
import type { TableCell } from '../../../table/components/cell';
|
|
4
|
-
import { TableColumnSortOperation } from '../types';
|
|
5
|
-
import type { TableGroupRow } from '../../../table/components/group-row';
|
|
6
|
-
import type { ColumnValidator } from './column-validator';
|
|
7
|
-
export interface ColumnInternalsOptions<TColumnValidator extends ColumnValidator<[]> = ColumnValidator<[]>> {
|
|
8
|
-
/**
|
|
9
|
-
* The tag (element name) of the custom element that renders the cell content for the column.
|
|
10
|
-
* That element should derive from TableCellView<TCellRecord, TColumnConfig>.
|
|
11
|
-
*/
|
|
12
|
-
readonly cellViewTag: string;
|
|
13
|
-
/**
|
|
14
|
-
* The names of the fields that should be present in TCellRecord.
|
|
15
|
-
* This array is parallel with the field names specified by `dataRecordFieldNames`.
|
|
16
|
-
*/
|
|
17
|
-
readonly cellRecordFieldNames: readonly TableFieldName[];
|
|
18
|
-
/**
|
|
19
|
-
* The tag to use to render the group header content for a column.
|
|
20
|
-
* The element this tag refers to must derive from TableGroupHeaderView.
|
|
21
|
-
*/
|
|
22
|
-
readonly groupHeaderViewTag: string;
|
|
23
|
-
/**
|
|
24
|
-
* The names of events that should be delegated from the cell view to the column.
|
|
25
|
-
*/
|
|
26
|
-
readonly delegatedEvents: readonly string[];
|
|
27
|
-
/**
|
|
28
|
-
* The sort operation to use for the column (defaults to TableColumnSortOperation.basic)
|
|
29
|
-
*/
|
|
30
|
-
readonly sortOperation?: TableColumnSortOperation;
|
|
31
|
-
/**
|
|
32
|
-
* The validator for the column
|
|
33
|
-
*/
|
|
34
|
-
readonly validator: TColumnValidator;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Internal column state configured by plugin authors
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
|
-
export declare class ColumnInternals<TColumnConfig, TColumnValidator extends ColumnValidator<[]>> {
|
|
41
|
-
/**
|
|
42
|
-
* @see ColumnInternalsOptions.cellRecordFieldNames
|
|
43
|
-
*/
|
|
44
|
-
readonly cellRecordFieldNames: readonly TableFieldName[];
|
|
45
|
-
/**
|
|
46
|
-
* A unique id used internally in the table to identify specific column instances
|
|
47
|
-
*/
|
|
48
|
-
readonly uniqueId: string;
|
|
49
|
-
/**
|
|
50
|
-
* Template for the cell view
|
|
51
|
-
*/
|
|
52
|
-
readonly cellViewTemplate: ViewTemplate<TableCell>;
|
|
53
|
-
/**
|
|
54
|
-
* The names of events that should be delegated from the cell view to the column.
|
|
55
|
-
*/
|
|
56
|
-
readonly delegatedEvents: readonly string[];
|
|
57
|
-
/**
|
|
58
|
-
* The relevant, static configuration a column requires its cell view to have access to.
|
|
59
|
-
*/
|
|
60
|
-
columnConfig?: TColumnConfig;
|
|
61
|
-
/**
|
|
62
|
-
* The name of the data field that will be used for operations on the table, such as sorting and grouping.
|
|
63
|
-
*/
|
|
64
|
-
operandDataRecordFieldName?: TableFieldName;
|
|
65
|
-
/**
|
|
66
|
-
* The operation to use when sorting the table by this column.
|
|
67
|
-
*/
|
|
68
|
-
sortOperation: TableColumnSortOperation;
|
|
69
|
-
/**
|
|
70
|
-
* The names of the fields from the row's record that correlate to the data that will be in TCellRecord.
|
|
71
|
-
* This array is parallel with the field names specified by `cellRecordFieldNames`.
|
|
72
|
-
*/
|
|
73
|
-
dataRecordFieldNames: readonly (TableFieldName | undefined)[];
|
|
74
|
-
/**
|
|
75
|
-
* Template for the group header view
|
|
76
|
-
*/
|
|
77
|
-
readonly groupHeaderViewTemplate: ViewTemplate<TableGroupRow>;
|
|
78
|
-
/**
|
|
79
|
-
* Whether or not this column can be used to group rows by
|
|
80
|
-
*/
|
|
81
|
-
groupingDisabled: boolean;
|
|
82
|
-
/**
|
|
83
|
-
* Specifies the grouping precedence of the column within the set of all columns participating in grouping.
|
|
84
|
-
* Columns are rendered in the grouping tree from lowest group-index as the tree root to highest
|
|
85
|
-
* group-index as tree leaves.
|
|
86
|
-
*/
|
|
87
|
-
groupIndex?: number;
|
|
88
|
-
/**
|
|
89
|
-
* Used by column plugins to set a specific pixel width. Sets currentPixelWidth when changed.
|
|
90
|
-
*/
|
|
91
|
-
pixelWidth?: number;
|
|
92
|
-
/**
|
|
93
|
-
* Used by column plugins to size a column proportionally to the available
|
|
94
|
-
* width of a row. Sets currentFractionalWidth when changed.
|
|
95
|
-
*/
|
|
96
|
-
fractionalWidth: number;
|
|
97
|
-
/**
|
|
98
|
-
* The minimum size in pixels according to the design doc
|
|
99
|
-
*/
|
|
100
|
-
minPixelWidth: number;
|
|
101
|
-
/**
|
|
102
|
-
* Whether or not resizing the column has been disabled.
|
|
103
|
-
*/
|
|
104
|
-
resizingDisabled: boolean;
|
|
105
|
-
/**
|
|
106
|
-
* Whether or not the grouping and sorting indicators should be hidden in the column header
|
|
107
|
-
* when the column is grouped or sorted.
|
|
108
|
-
*/
|
|
109
|
-
hideHeaderIndicators: boolean;
|
|
110
|
-
/**
|
|
111
|
-
* @internal Do not write to this value directly. It is used by the Table in order to store
|
|
112
|
-
* the resolved value of the fractionalWidth after updates programmatic or interactive updates.
|
|
113
|
-
*/
|
|
114
|
-
currentFractionalWidth: number;
|
|
115
|
-
/**
|
|
116
|
-
* @internal Do not write to this value directly. It is used by the Table in order to store
|
|
117
|
-
* the resolved value of the pixelWidth after programmatic or interactive updates.
|
|
118
|
-
*/
|
|
119
|
-
currentPixelWidth?: number;
|
|
120
|
-
/**
|
|
121
|
-
* @internal Do not write to this value directly. It is used by the Table in order to store
|
|
122
|
-
* the resolved value of the sortIndex after programmatic or interactive updates.
|
|
123
|
-
*/
|
|
124
|
-
currentSortIndex?: number | null;
|
|
125
|
-
/**
|
|
126
|
-
* @internal Do not write to this value directly. It is used by the Table in order to store
|
|
127
|
-
* the resolved value of the sortDirection after programmatic or interactive updates.
|
|
128
|
-
*/
|
|
129
|
-
currentSortDirection: TableColumnSortDirection;
|
|
130
|
-
readonly validator: TColumnValidator;
|
|
131
|
-
constructor(options: ColumnInternalsOptions<TColumnValidator>);
|
|
132
|
-
protected fractionalWidthChanged(): void;
|
|
133
|
-
protected pixelWidthChanged(): void;
|
|
134
|
-
}
|
|
135
|
-
export declare function isColumnInternalsProperty(changedProperty: string, ...args: (keyof ColumnInternals<unknown, ColumnValidator<[]>>)[]): boolean;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { Validator } from '../../../utilities/models/validator';
|
|
2
|
-
import type { TableColumnValidity } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Base column validator
|
|
5
|
-
*/
|
|
6
|
-
export declare class ColumnValidator<ValidityFlagNames extends readonly string[]> extends Validator<ValidityFlagNames> {
|
|
7
|
-
isColumnValid: boolean;
|
|
8
|
-
constructor(configValidityKeys: ValidityFlagNames);
|
|
9
|
-
/**
|
|
10
|
-
* @returns an object containing flags for various ways the configuation can be invalid
|
|
11
|
-
*/
|
|
12
|
-
getValidity(): TableColumnValidity;
|
|
13
|
-
/**
|
|
14
|
-
* Sets a particular validity condition flag's value, e.g. "hasInvalidFooValue" = true
|
|
15
|
-
*/
|
|
16
|
-
protected setConditionValue(name: ValidityFlagNames extends readonly (infer U)[] ? U : never, isInvalid: boolean): void;
|
|
17
|
-
private updateColumnInternalsFlag;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const styles: import("@microsoft/fast-element").ElementStyles;
|