@orangelogic/design-system 2.19.0-ci.5
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/library/apps/cortex/src/types.d.ts +5 -0
- package/library/assets/content-builder.css +1 -0
- package/library/assets/design-system.css +1 -0
- package/library/assets/outlined.css +1 -0
- package/library/assets/rounded.css +1 -0
- package/library/assets/sharp.css +1 -0
- package/library/atoms.d.ts +1 -0
- package/library/chunks/DeviceOrientationControls.CCdbZgfJ.js +29 -0
- package/library/chunks/OrbitControls.CLHBWz99.js +270 -0
- package/library/chunks/VRControls.js_g1t8t.js +25 -0
- package/library/chunks/VREffect.DBiEtV6k.js +113 -0
- package/library/chunks/_baseUniq.BUihBa8c.js +202 -0
- package/library/chunks/_commonjsHelpers.ByX85dGu.js +33 -0
- package/library/chunks/animation-registry.DavRkTTr.js +69 -0
- package/library/chunks/animation.DPqSuC7g.js +999 -0
- package/library/chunks/asset-link-format.BSRDqHg7.js +6 -0
- package/library/chunks/asset-link-format.CNLtOgSn.js +2900 -0
- package/library/chunks/base.D76d76ww.js +9 -0
- package/library/chunks/browser.Va59Ix3P.js +82 -0
- package/library/chunks/button.G_W-dK6b.js +292 -0
- package/library/chunks/button.styles.CRh5_Ev4.js +718 -0
- package/library/chunks/capitalize.CNStXZBq.js +41 -0
- package/library/chunks/choose.BTbF6BAn.js +12 -0
- package/library/chunks/class-map.DqNfBvJI.js +32 -0
- package/library/chunks/color-swatch-group.fL5ADbZF.js +568 -0
- package/library/chunks/color-swatch.JL7CbNRm.js +558 -0
- package/library/chunks/component.styles.DtouHn2g.js +71 -0
- package/library/chunks/confirm-popover.DwSAxWFi.js +286 -0
- package/library/chunks/cropper.3qRm5dEe.js +28660 -0
- package/library/chunks/custom-element.fmLrnDZr.js +682 -0
- package/library/chunks/debounce.DZNkg8Q5.js +11 -0
- package/library/chunks/default-value.BrNrMtnz.js +15 -0
- package/library/chunks/dialog.upIZWR3x.js +1998 -0
- package/library/chunks/directive-helpers.D78ZFDYN.js +37 -0
- package/library/chunks/directive.oAbCiebi.js +27 -0
- package/library/chunks/dom.DcrKFR2q.js +67 -0
- package/library/chunks/dot-pagination.EWl_NO9m.js +323 -0
- package/library/chunks/drag.DXEXVXPv.js +18 -0
- package/library/chunks/endpoints.3oM4-c57.js +2380 -0
- package/library/chunks/event-options.CYHYGOd8.js +14 -0
- package/library/chunks/event.mFzZi4sr.js +11 -0
- package/library/chunks/file-on-demand.Cb4mtesb.js +3396 -0
- package/library/chunks/flow.gcpXucZv.js +508 -0
- package/library/chunks/folder-select.BsbsjikP.js +719 -0
- package/library/chunks/form-control.styles.j0hNjZTU.js +67 -0
- package/library/chunks/form.BFLbw9Rz.js +193 -0
- package/library/chunks/guard.L-Ctqt3S.js +24 -0
- package/library/chunks/header.CzGjJnha.js +775 -0
- package/library/chunks/hub-connection.BiLljnv2.js +1875 -0
- package/library/chunks/i18n.C6c6_pqI.js +836 -0
- package/library/chunks/if-defined.CKupVaWs.js +10 -0
- package/library/chunks/iframe.CVP0aR9K.js +158 -0
- package/library/chunks/image.CRcv0x3Z.js +1276 -0
- package/library/chunks/index.C1chwzNp.js +710 -0
- package/library/chunks/index.Cpamj0jB.js +10 -0
- package/library/chunks/isObjectLike.z36Fu426.js +34 -0
- package/library/chunks/isSymbol.L0C2ND_U.js +8 -0
- package/library/chunks/list-editor.BPUsGMW-.js +356 -0
- package/library/chunks/live.DCdtYl87.js +30 -0
- package/library/chunks/map.D8heArFD.js +14 -0
- package/library/chunks/math.DqTA6ya4.js +7 -0
- package/library/chunks/menu-item.HK2A6RqD.js +775 -0
- package/library/chunks/modal.BqNLxgs1.js +81 -0
- package/library/chunks/number.eX2EGPvy.js +83 -0
- package/library/chunks/option.pgg_ZoHY.js +294 -0
- package/library/chunks/overlay-scrollbar.styles.B1VCLkfA.js +711 -0
- package/library/chunks/pagination.y5oqoPVr.js +4 -0
- package/library/chunks/query-all.i3PyvTUQ.js +15 -0
- package/library/chunks/query-async.CTgXGyQ5.js +14 -0
- package/library/chunks/query.BBf1UFkC.js +31 -0
- package/library/chunks/repeat.B1pVpmRx.js +61 -0
- package/library/chunks/scroll.DwPiX2Ox.js +54 -0
- package/library/chunks/select.DMdl1Kdd.js +1442 -0
- package/library/chunks/slot.DJLm4Dig.js +50 -0
- package/library/chunks/sortable.esm.oSzf6C5Q.js +1260 -0
- package/library/chunks/state.Dt9F_SuS.js +12 -0
- package/library/chunks/static.kLXgh3Gq.js +31 -0
- package/library/chunks/string.yyVPNus8.js +676 -0
- package/library/chunks/style-map.lEJHEwk3.js +35 -0
- package/library/chunks/tab-group.3F6gRchD.js +1071 -0
- package/library/chunks/tabbable.CcMz3mIL.js +63 -0
- package/library/chunks/table.BarE1-gL.js +18567 -0
- package/library/chunks/timecode.C9Yc2sWq.js +98 -0
- package/library/chunks/toString.CL_lYXbK.js +26 -0
- package/library/chunks/tree.5Cb85J9q.js +1226 -0
- package/library/chunks/typography.trna8y2b.js +147 -0
- package/library/chunks/unsafe-html.BpqikVtf.js +26 -0
- package/library/chunks/watch.BCJD77bD.js +547 -0
- package/library/chunks/when.Dr1es41R.js +11 -0
- package/library/components/alert.d.ts +3 -0
- package/library/components/alert.js +349 -0
- package/library/components/animated-image.d.ts +3 -0
- package/library/components/animated-image.js +156 -0
- package/library/components/animation.d.ts +3 -0
- package/library/components/animation.js +8 -0
- package/library/components/asset-link-format.d.ts +3 -0
- package/library/components/asset-link-format.js +16 -0
- package/library/components/atoms.js +170 -0
- package/library/components/avatar.d.ts +3 -0
- package/library/components/avatar.js +153 -0
- package/library/components/badge.d.ts +3 -0
- package/library/components/badge.js +177 -0
- package/library/components/bicolor-picker.d.ts +3 -0
- package/library/components/bicolor-picker.js +89 -0
- package/library/components/border-input-group.d.ts +3 -0
- package/library/components/border-input-group.js +90 -0
- package/library/components/breadcrumb-item.d.ts +3 -0
- package/library/components/breadcrumb-item.js +206 -0
- package/library/components/breadcrumb.d.ts +3 -0
- package/library/components/breadcrumb.js +74 -0
- package/library/components/button-group.d.ts +3 -0
- package/library/components/button-group.js +96 -0
- package/library/components/button.d.ts +3 -0
- package/library/components/button.js +19 -0
- package/library/components/card.d.ts +3 -0
- package/library/components/card.js +162 -0
- package/library/components/checkbox.d.ts +3 -0
- package/library/components/checkbox.js +376 -0
- package/library/components/color-picker.d.ts +3 -0
- package/library/components/color-picker.js +1411 -0
- package/library/components/color-swatch-group.d.ts +3 -0
- package/library/components/color-swatch-group.js +22 -0
- package/library/components/color-swatch.d.ts +3 -0
- package/library/components/color-swatch.js +21 -0
- package/library/components/confirm-popover.d.ts +3 -0
- package/library/components/confirm-popover.js +13 -0
- package/library/components/copy-button.d.ts +3 -0
- package/library/components/copy-button.js +448 -0
- package/library/components/corner-position-input-group.d.ts +3 -0
- package/library/components/corner-position-input-group.js +144 -0
- package/library/components/cropper.d.ts +3 -0
- package/library/components/cropper.js +10 -0
- package/library/components/details.d.ts +3 -0
- package/library/components/details.js +278 -0
- package/library/components/dialog.d.ts +3 -0
- package/library/components/dialog.js +23 -0
- package/library/components/divider.d.ts +3 -0
- package/library/components/divider.js +91 -0
- package/library/components/dot-pagination.d.ts +3 -0
- package/library/components/dot-pagination.js +17 -0
- package/library/components/drawer.d.ts +3 -0
- package/library/components/drawer.js +518 -0
- package/library/components/dropdown.d.ts +3 -0
- package/library/components/dropdown.js +368 -0
- package/library/components/dynamic-select.d.ts +3 -0
- package/library/components/dynamic-select.js +333 -0
- package/library/components/element-clamp.d.ts +3 -0
- package/library/components/element-clamp.js +263 -0
- package/library/components/file-on-demand.d.ts +3 -0
- package/library/components/file-on-demand.js +37 -0
- package/library/components/folder-select.d.ts +3 -0
- package/library/components/folder-select.js +16 -0
- package/library/components/fonts.js +8 -0
- package/library/components/format-bytes.d.ts +3 -0
- package/library/components/format-bytes.js +42 -0
- package/library/components/format-date.d.ts +3 -0
- package/library/components/format-date.js +75 -0
- package/library/components/format-number.d.ts +3 -0
- package/library/components/format-number.js +61 -0
- package/library/components/grid-item.d.ts +3 -0
- package/library/components/grid-item.js +247 -0
- package/library/components/grid.d.ts +3 -0
- package/library/components/grid.js +118 -0
- package/library/components/header.d.ts +3 -0
- package/library/components/header.js +14 -0
- package/library/components/hub-connection.d.ts +3 -0
- package/library/components/hub-connection.js +7 -0
- package/library/components/icon-button.d.ts +3 -0
- package/library/components/icon-button.js +676 -0
- package/library/components/icon.d.ts +3 -0
- package/library/components/icon.js +2486 -0
- package/library/components/iframe.d.ts +3 -0
- package/library/components/iframe.js +12 -0
- package/library/components/image-comparer.d.ts +3 -0
- package/library/components/image-comparer.js +197 -0
- package/library/components/image.d.ts +3 -0
- package/library/components/image.js +21 -0
- package/library/components/include.d.ts +3 -0
- package/library/components/include.js +76 -0
- package/library/components/input-group.d.ts +3 -0
- package/library/components/input-group.js +91 -0
- package/library/components/input.d.ts +3 -0
- package/library/components/input.js +3460 -0
- package/library/components/line-clamp.d.ts +3 -0
- package/library/components/line-clamp.js +218 -0
- package/library/components/list-editor.d.ts +3 -0
- package/library/components/list-editor.js +24 -0
- package/library/components/markdown.d.ts +3 -0
- package/library/components/markdown.js +2706 -0
- package/library/components/masonry.d.ts +3 -0
- package/library/components/masonry.js +401 -0
- package/library/components/menu-item.d.ts +3 -0
- package/library/components/menu-item.js +15 -0
- package/library/components/menu-label.d.ts +3 -0
- package/library/components/menu-label.js +37 -0
- package/library/components/menu-section.d.ts +3 -0
- package/library/components/menu-section.js +64 -0
- package/library/components/menu.d.ts +3 -0
- package/library/components/menu.js +427 -0
- package/library/components/molecules.js +38 -0
- package/library/components/mutation-observer.d.ts +3 -0
- package/library/components/mutation-observer.js +100 -0
- package/library/components/option.d.ts +3 -0
- package/library/components/option.js +14 -0
- package/library/components/organisms.js +8 -0
- package/library/components/padding-input-group.d.ts +3 -0
- package/library/components/padding-input-group.js +103 -0
- package/library/components/pagination.d.ts +3 -0
- package/library/components/pagination.js +338 -0
- package/library/components/popup.d.ts +3 -0
- package/library/components/popup.js +3299 -0
- package/library/components/position-picker.d.ts +3 -0
- package/library/components/position-picker.js +132 -0
- package/library/components/progress-bar.d.ts +3 -0
- package/library/components/progress-bar.js +160 -0
- package/library/components/progress-ring.d.ts +3 -0
- package/library/components/progress-ring.js +137 -0
- package/library/components/qr-code.d.ts +3 -0
- package/library/components/qr-code.js +610 -0
- package/library/components/radio-button.d.ts +3 -0
- package/library/components/radio-button.js +151 -0
- package/library/components/radio-card.d.ts +3 -0
- package/library/components/radio-card.js +262 -0
- package/library/components/radio-group.d.ts +3 -0
- package/library/components/radio-group.js +339 -0
- package/library/components/radio.d.ts +3 -0
- package/library/components/radio.js +248 -0
- package/library/components/range.d.ts +3 -0
- package/library/components/range.js +1333 -0
- package/library/components/rating.d.ts +3 -0
- package/library/components/rating.js +361 -0
- package/library/components/relative-time.d.ts +3 -0
- package/library/components/relative-time.js +87 -0
- package/library/components/resize-observer.d.ts +3 -0
- package/library/components/resize-observer.js +64 -0
- package/library/components/select.d.ts +3 -0
- package/library/components/select.js +27 -0
- package/library/components/shadow-input-group.d.ts +3 -0
- package/library/components/shadow-input-group.js +115 -0
- package/library/components/share-option-list.d.ts +3 -0
- package/library/components/share-option-list.js +765 -0
- package/library/components/sidebar.d.ts +3 -0
- package/library/components/sidebar.js +303 -0
- package/library/components/size-input-group.d.ts +3 -0
- package/library/components/size-input-group.js +229 -0
- package/library/components/skeleton.d.ts +3 -0
- package/library/components/skeleton.js +104 -0
- package/library/components/space.d.ts +3 -0
- package/library/components/space.js +178 -0
- package/library/components/spinner.d.ts +3 -0
- package/library/components/spinner.js +93 -0
- package/library/components/split-panel.d.ts +3 -0
- package/library/components/split-panel.js +259 -0
- package/library/components/step.d.ts +3 -0
- package/library/components/step.js +360 -0
- package/library/components/stepper-wizard.d.ts +3 -0
- package/library/components/stepper-wizard.js +109 -0
- package/library/components/stepper.d.ts +3 -0
- package/library/components/stepper.js +71 -0
- package/library/components/switch.d.ts +3 -0
- package/library/components/switch.js +433 -0
- package/library/components/tab-group.d.ts +3 -0
- package/library/components/tab-group.js +24 -0
- package/library/components/tab-panel.d.ts +3 -0
- package/library/components/tab-panel.js +70 -0
- package/library/components/tab.d.ts +3 -0
- package/library/components/tab.js +204 -0
- package/library/components/table.d.ts +3 -0
- package/library/components/table.js +69 -0
- package/library/components/tag.d.ts +3 -0
- package/library/components/tag.js +217 -0
- package/library/components/textarea.d.ts +3 -0
- package/library/components/textarea.js +618 -0
- package/library/components/timecode.d.ts +3 -0
- package/library/components/timecode.js +10 -0
- package/library/components/tooltip.d.ts +3 -0
- package/library/components/tooltip.js +268 -0
- package/library/components/tree-item.d.ts +3 -0
- package/library/components/tree-item.js +18 -0
- package/library/components/tree.d.ts +3 -0
- package/library/components/tree.js +14 -0
- package/library/components/typeface.d.ts +3 -0
- package/library/components/typeface.js +203 -0
- package/library/components/types.js +156620 -0
- package/library/components/typography.d.ts +3 -0
- package/library/components/typography.js +6 -0
- package/library/components/video.d.ts +3 -0
- package/library/components/video.js +49614 -0
- package/library/components/visually-hidden.d.ts +3 -0
- package/library/components/visually-hidden.js +32 -0
- package/library/css/ol-base.css +200 -0
- package/library/css/ol-dark.css +152 -0
- package/library/css/ol-light.css +153 -0
- package/library/fonts.d.ts +1 -0
- package/library/molecules.d.ts +1 -0
- package/library/organisms.d.ts +1 -0
- package/library/package.json +40 -0
- package/library/packages/atoms/src/animations/attention_seekers/bounce.d.ts +16 -0
- package/library/packages/atoms/src/animations/attention_seekers/flash.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/headShake.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/heartBeat.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/jello.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/pulse.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/rubberBand.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/shake.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/shakeX.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/shakeY.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/swing.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/tada.d.ts +4 -0
- package/library/packages/atoms/src/animations/attention_seekers/wobble.d.ts +4 -0
- package/library/packages/atoms/src/animations/back_entrances/backInDown.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_entrances/backInLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_entrances/backInRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_entrances/backInUp.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutDown.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/back_exits/backOutUp.d.ts +5 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceIn.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInDown.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInLeft.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInRight.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_entrances/bounceInUp.d.ts +16 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/bouncing_exits/bounceOutUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/easings/easings.d.ts +31 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeIn.d.ts +4 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInBottomLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInBottomRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInDown.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInDownBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInLeftBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInRightBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInTopLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInTopRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInUp.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_entrances/fadeInUpBig.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOut.d.ts +4 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutBottomLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutBottomRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutDownBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutLeftBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutRightBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutTopLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutTopRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/fading_exits/fadeOutUpBig.d.ts +9 -0
- package/library/packages/atoms/src/animations/flippers/flip.d.ts +5 -0
- package/library/packages/atoms/src/animations/flippers/flipInX.d.ts +21 -0
- package/library/packages/atoms/src/animations/flippers/flipInY.d.ts +21 -0
- package/library/packages/atoms/src/animations/flippers/flipOutX.d.ts +9 -0
- package/library/packages/atoms/src/animations/flippers/flipOutY.d.ts +9 -0
- package/library/packages/atoms/src/animations/index.d.ts +99 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedInLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedInRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedOutLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/lightspeed/lightSpeedOutRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateIn.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInDownLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInDownRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInUpLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_entrances/rotateInUpRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutDownLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutDownRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutUpLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/rotating_exits/rotateOutUpRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_entrances/slideInUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutDown.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutLeft.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutRight.d.ts +9 -0
- package/library/packages/atoms/src/animations/sliding_exits/slideOutUp.d.ts +9 -0
- package/library/packages/atoms/src/animations/specials/hinge.d.ts +21 -0
- package/library/packages/atoms/src/animations/specials/jackInTheBox.d.ts +16 -0
- package/library/packages/atoms/src/animations/specials/rollIn.d.ts +5 -0
- package/library/packages/atoms/src/animations/specials/rollOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomIn.d.ts +9 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInDown.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInLeft.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInRight.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_entrances/zoomInUp.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOut.d.ts +9 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutDown.d.ts +6 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutLeft.d.ts +5 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutRight.d.ts +5 -0
- package/library/packages/atoms/src/animations/zooming_exits/zoomOutUp.d.ts +6 -0
- package/library/packages/atoms/src/components/alert/alert.d.ts +85 -0
- package/library/packages/atoms/src/components/alert/alert.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/animated-image/animated-image.d.ts +44 -0
- package/library/packages/atoms/src/components/animated-image/animated-image.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/animation/animation.d.ts +95 -0
- package/library/packages/atoms/src/components/animation/animation.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/animation/animations.d.ts +6 -0
- package/library/packages/atoms/src/components/avatar/avatar.d.ts +47 -0
- package/library/packages/atoms/src/components/avatar/avatar.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/badge/badge.d.ts +27 -0
- package/library/packages/atoms/src/components/badge/badge.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/breadcrumb/breadcrumb.d.ts +38 -0
- package/library/packages/atoms/src/components/breadcrumb/breadcrumb.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/breadcrumb-item/breadcrumb-item.d.ts +42 -0
- package/library/packages/atoms/src/components/breadcrumb-item/breadcrumb-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/button/button.d.ts +157 -0
- package/library/packages/atoms/src/components/button/button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/button-group/button-group.d.ts +31 -0
- package/library/packages/atoms/src/components/button-group/button-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/card/card.d.ts +42 -0
- package/library/packages/atoms/src/components/card/card.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.d.ts +98 -0
- package/library/packages/atoms/src/components/checkbox/checkbox.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.d.ts +247 -0
- package/library/packages/atoms/src/components/color-picker/color-picker.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +110 -0
- package/library/packages/atoms/src/components/copy-button/copy-button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/details/details.d.ts +65 -0
- package/library/packages/atoms/src/components/details/details.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dialog/dialog.d.ts +156 -0
- package/library/packages/atoms/src/components/dialog/dialog.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/divider/divider.d.ts +32 -0
- package/library/packages/atoms/src/components/divider/divider.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dot-pagination/dot-pagination.d.ts +94 -0
- package/library/packages/atoms/src/components/dot-pagination/dot-pagination.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +121 -0
- package/library/packages/atoms/src/components/drawer/drawer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.d.ts +127 -0
- package/library/packages/atoms/src/components/dropdown/dropdown.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/element-clamp/element-clamp.d.ts +88 -0
- package/library/packages/atoms/src/components/element-clamp/element-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/format-bytes/format-bytes.d.ts +20 -0
- package/library/packages/atoms/src/components/format-date/format-date.d.ts +46 -0
- package/library/packages/atoms/src/components/format-number/format-number.d.ts +38 -0
- package/library/packages/atoms/src/components/grid/grid.d.ts +40 -0
- package/library/packages/atoms/src/components/grid/grid.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/grid-item/grid-item.d.ts +49 -0
- package/library/packages/atoms/src/components/grid-item/grid-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/header/header.d.ts +77 -0
- package/library/packages/atoms/src/components/header/header.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/hub-connection/hub-connection.d.ts +55 -0
- package/library/packages/atoms/src/components/icon/font-awesome.style.d.ts +2 -0
- package/library/packages/atoms/src/components/icon/icon.d.ts +40 -0
- package/library/packages/atoms/src/components/icon/icon.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +102 -0
- package/library/packages/atoms/src/components/icon-button/icon-button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/iframe/iframe.d.ts +60 -0
- package/library/packages/atoms/src/components/iframe/iframe.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/image/image.d.ts +171 -0
- package/library/packages/atoms/src/components/image/image.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/image-comparer/image-comparer.d.ts +49 -0
- package/library/packages/atoms/src/components/image-comparer/image-comparer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/include/include.d.ts +35 -0
- package/library/packages/atoms/src/components/include/include.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/include/request.d.ts +8 -0
- package/library/packages/atoms/src/components/input/input.d.ts +248 -0
- package/library/packages/atoms/src/components/input/input.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/input-group/input-group.d.ts +30 -0
- package/library/packages/atoms/src/components/input-group/input-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/line-clamp/line-clamp.d.ts +88 -0
- package/library/packages/atoms/src/components/line-clamp/line-clamp.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/markdown/markdown.d.ts +51 -0
- package/library/packages/atoms/src/components/markdown/parser.d.ts +14 -0
- package/library/packages/atoms/src/components/menu/menu.d.ts +77 -0
- package/library/packages/atoms/src/components/menu/menu.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +105 -0
- package/library/packages/atoms/src/components/menu-item/menu-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-item/submenu-controller.d.ts +43 -0
- package/library/packages/atoms/src/components/menu-label/menu-label.d.ts +19 -0
- package/library/packages/atoms/src/components/menu-label/menu-label.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/menu-section/menu-section.d.ts +33 -0
- package/library/packages/atoms/src/components/menu-section/menu-section.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/mutation-observer/mutation-observer.d.ts +48 -0
- package/library/packages/atoms/src/components/mutation-observer/mutation-observer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/option/option.d.ts +69 -0
- package/library/packages/atoms/src/components/option/option.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/pagination/pagination.d.ts +94 -0
- package/library/packages/atoms/src/components/pagination/pagination.style.d.ts +2 -0
- package/library/packages/atoms/src/components/popup/overlay/AbstractOverlay.d.ts +73 -0
- package/library/packages/atoms/src/components/popup/overlay/ClickController.d.ts +15 -0
- package/library/packages/atoms/src/components/popup/overlay/HoverController.d.ts +21 -0
- package/library/packages/atoms/src/components/popup/overlay/InteractionController.d.ts +39 -0
- package/library/packages/atoms/src/components/popup/overlay/LongpressController.d.ts +22 -0
- package/library/packages/atoms/src/components/popup/overlay/Overlay.d.ts +137 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayDialog.d.ts +5 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayNoPopover.d.ts +5 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayPopover.d.ts +5 -0
- package/library/packages/atoms/src/components/popup/overlay/OverlayStack.d.ts +45 -0
- package/library/packages/atoms/src/components/popup/overlay/PlacementController.d.ts +41 -0
- package/library/packages/atoms/src/components/popup/overlay/VirtualTrigger.d.ts +7 -0
- package/library/packages/atoms/src/components/popup/overlay/events.d.ts +24 -0
- package/library/packages/atoms/src/components/popup/overlay/lib/base.d.ts +23 -0
- package/library/packages/atoms/src/components/popup/overlay/lib/reactive-controllers.d.ts +24 -0
- package/library/packages/atoms/src/components/popup/overlay/lib/shared.d.ts +15 -0
- package/library/packages/atoms/src/components/popup/overlay/overlay-timer.d.ts +22 -0
- package/library/packages/atoms/src/components/popup/overlay/overlay.component.d.ts +7 -0
- package/library/packages/atoms/src/components/popup/overlay/overlay.style.d.ts +2 -0
- package/library/packages/atoms/src/components/popup/overlay/slottable-request-event.d.ts +12 -0
- package/library/packages/atoms/src/components/popup/overlay/strategies.d.ts +9 -0
- package/library/packages/atoms/src/components/popup/popup.d.ts +184 -0
- package/library/packages/atoms/src/components/popup/popup.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/progress-bar/progress-bar.d.ts +35 -0
- package/library/packages/atoms/src/components/progress-bar/progress-bar.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/progress-ring/progress-ring.d.ts +35 -0
- package/library/packages/atoms/src/components/progress-ring/progress-ring.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/qr-code/qr-code.d.ts +38 -0
- package/library/packages/atoms/src/components/qr-code/qr-code.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio/radio.d.ts +56 -0
- package/library/packages/atoms/src/components/radio/radio.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio/radio.svg.d.ts +1 -0
- package/library/packages/atoms/src/components/radio-button/radio-button.d.ts +69 -0
- package/library/packages/atoms/src/components/radio-button/radio-button.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio-card/radio-card.d.ts +68 -0
- package/library/packages/atoms/src/components/radio-card/radio-card.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/radio-group/radio-group.d.ts +95 -0
- package/library/packages/atoms/src/components/radio-group/radio-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/range/range.d.ts +287 -0
- package/library/packages/atoms/src/components/range/range.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/range/range.utils.d.ts +48 -0
- package/library/packages/atoms/src/components/rating/rating.d.ts +78 -0
- package/library/packages/atoms/src/components/rating/rating.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/relative-time/relative-time.d.ts +43 -0
- package/library/packages/atoms/src/components/resize-observer/resize-observer.d.ts +33 -0
- package/library/packages/atoms/src/components/resize-observer/resize-observer.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/select/select.d.ts +372 -0
- package/library/packages/atoms/src/components/select/select.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/skeleton/skeleton.d.ts +27 -0
- package/library/packages/atoms/src/components/skeleton/skeleton.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/space/space.d.ts +51 -0
- package/library/packages/atoms/src/components/space/space.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/spinner/spinner.d.ts +23 -0
- package/library/packages/atoms/src/components/spinner/spinner.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/split-panel/split-panel.d.ts +78 -0
- package/library/packages/atoms/src/components/split-panel/split-panel.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/step/step.d.ts +88 -0
- package/library/packages/atoms/src/components/step/step.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/stepper/stepper.d.ts +35 -0
- package/library/packages/atoms/src/components/stepper/stepper.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/switch/switch.d.ts +92 -0
- package/library/packages/atoms/src/components/switch/switch.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tab/tab.d.ts +51 -0
- package/library/packages/atoms/src/components/tab/tab.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +176 -0
- package/library/packages/atoms/src/components/tab-group/tab-group.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tab-panel/tab-panel.d.ts +29 -0
- package/library/packages/atoms/src/components/tab-panel/tab-panel.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/index.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions-dropdown.d.ts +39 -0
- package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions.d.ts +45 -0
- package/library/packages/atoms/src/components/table/components/table-row-actions/table-row-actions.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.d.ts +79 -0
- package/library/packages/atoms/src/components/table/components/table-toolbar/table-toolbar.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/modules/HoverMenu.d.ts +13 -0
- package/library/packages/atoms/src/components/table/table.d.ts +622 -0
- package/library/packages/atoms/src/components/table/table.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/table/table.utils.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/ColumnManager.d.ts +70 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/CoreFeature.d.ts +59 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/FooterManager.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Module.d.ts +46 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/RowManager.d.ts +140 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +120 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/TabulatorFull.d.ts +52 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/cell/Cell.d.ts +62 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/cell/CellComponent.d.ts +23 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/column/Column.d.ts +128 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/column/ColumnComponent.d.ts +28 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/column/defaults/options.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/defaults/options.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/modules/core.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/modules/optional.d.ts +38 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/Renderer.d.ts +42 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/BasicHorizontal.d.ts +8 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/BasicVertical.d.ts +14 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/VirtualDomHorizontal.d.ts +57 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/rendering/renderers/VirtualDomVertical.d.ts +43 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/row/PseudoRow.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/row/Row.d.ts +69 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/row/RowComponent.d.ts +26 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/Alert.d.ts +14 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/ComponentFunctionBinder.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +34 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DependencyRegistry.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DeprecationAdvisor.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/ExternalEventBus.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/Helpers.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/InteractionMonitor.d.ts +26 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/InternalEventBus.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/ModuleBinder.d.ts +43 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/OptionsList.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/Popup.d.ts +49 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/TableRegistry.d.ts +12 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/index.d.ts +14 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Accessibility/Accessibility.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Accessor/Accessor.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Accessor/defaults/accessors.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/Ajax.d.ts +41 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/defaults/config.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/defaults/contentTypeFormatters.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Ajax/defaults/urlGenerator.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/Clipboard.d.ts +35 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/defaults/pasteActions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/defaults/pasteParsers.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/extensions.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/keybindings/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Clipboard/extensions/keybindings/bindings.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ColumnCalcs/CalcComponent.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ColumnCalcs/ColumnCalcs.d.ts +67 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ColumnCalcs/defaults/calculations.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Comms/Comms.d.ts +12 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/DataTree/DataTree.d.ts +59 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/Download.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/csv.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/html.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/json.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/jsonLines.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/pdf.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders/xlsx.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Download/defaults/downloaders.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/Edit.d.ts +57 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/List.d.ts +115 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/adaptable.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/date.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/datetime.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/input.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/list.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/number.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/progress.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/range.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/star.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/textarea.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/tickCross.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors/time.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/defaults/editors.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/inputMask.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/Export.d.ts +61 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/ExportColumn.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/ExportRow.d.ts +12 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/defaults/columnLookups.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Export/defaults/rowLookups.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/Filter.d.ts +86 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Filter/defaults/filters.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/Format.d.ts +44 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/adaptable.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/array.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/buttonCross.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/buttonTick.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/color.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/datetime.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/datetimediff.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/handle.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/html.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/image.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/json.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/link.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/lookup.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/money.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/plaintext.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/progress.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/rownum.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/star.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/tag.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/textarea.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/tickCross.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/toggle.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters/traffic.d.ts +9 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Format/defaults/formatters.d.ts +50 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +34 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/FrozenRows/FrozenRows.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/Group.d.ts +83 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupComponent.d.ts +21 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/GroupRows/GroupRows.d.ts +69 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/History.d.ts +50 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/defaults/redoers.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/defaults/undoers.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/extensions.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/keybindings/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/History/extensions/keybindings/bindings.d.ts +2 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/HtmlTableImport/HtmlTableImport.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/Import.d.ts +29 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/array.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/csv.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/json.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers/xlsx.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Import/defaults/importers.d.ts +11 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Interaction/Interaction.d.ts +37 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Keybindings/Keybindings.d.ts +38 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Keybindings/defaults/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Keybindings/defaults/bindings.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/Layout.d.ts +17 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitColumns.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitData.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitDataGeneral.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes/fitDataStretch.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Layout/defaults/modes.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Localize/Localize.d.ts +26 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Localize/defaults/langs.d.ts +37 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Menu/Menu.d.ts +23 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveColumns/MoveColumns.d.ts +31 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveRows/MoveRows.d.ts +62 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveRows/defaults/receivers.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/MoveRows/defaults/senders.d.ts +7 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Mutator/Mutator.d.ts +24 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Mutator/defaults/mutators.d.ts +2 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Page/Page.d.ts +63 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Persistence/Persistence.d.ts +43 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Persistence/defaults/readers.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Persistence/defaults/writers.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/PlaceholderRow/PlaceholderRow.d.ts +29 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Popup/Popup.d.ts +19 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Print/Print.d.ts +16 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ReactiveData/ReactiveData.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +33 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResizeRows/ResizeRows.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResizeTable/ResizeTable.d.ts +24 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResponsiveLayout/ResponsiveLayout.d.ts +37 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResponsiveLayout/extensions/extensions.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/ResponsiveLayout/extensions/formatters/responsiveCollapse.d.ts +3 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/Range.d.ts +59 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/RangeComponent.d.ts +27 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/SelectRange.d.ts +121 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteActions.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/clipboard/pasteParsers.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/export/columnLookups.d.ts +6 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/export/rowLookups.d.ts +4 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/extensions.d.ts +36 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/keybindings/actions.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRange/extensions/keybindings/bindings.d.ts +15 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRow/SelectRow.d.ts +41 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRow/extensions/extensions.d.ts +10 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/SelectRow/extensions/formatters/rowSelection.d.ts +5 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/Sort.d.ts +39 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/alphanum.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/array.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/boolean.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/date.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/datetime.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/exists.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/number.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/string.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters/time.d.ts +1 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Sort/defaults/sorters.d.ts +22 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/GridCalculator.d.ts +13 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/Sheet.d.ts +50 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/SheetComponent.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Spreadsheet/Spreadsheet.d.ts +44 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Tooltip/Tooltip.d.ts +18 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Validate/Validate.d.ts +36 -0
- package/library/packages/atoms/src/components/table/tabulator-tables/modules/Validate/defaults/validators.d.ts +18 -0
- package/library/packages/atoms/src/components/tag/tag.d.ts +40 -0
- package/library/packages/atoms/src/components/tag/tag.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/textarea/textarea.d.ts +138 -0
- package/library/packages/atoms/src/components/textarea/textarea.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/timecode/timecode.d.ts +39 -0
- package/library/packages/atoms/src/components/timecode/timecode.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tooltip/tooltip.d.ts +111 -0
- package/library/packages/atoms/src/components/tooltip/tooltip.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tree/tree.d.ts +150 -0
- package/library/packages/atoms/src/components/tree/tree.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +197 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/tree-item/tree-item.utils.d.ts +29 -0
- package/library/packages/atoms/src/components/typography/typography.d.ts +23 -0
- package/library/packages/atoms/src/components/typography/typography.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/video/video.constants.d.ts +2 -0
- package/library/packages/atoms/src/components/video/video.d.ts +139 -0
- package/library/packages/atoms/src/components/video/video.styles.d.ts +2 -0
- package/library/packages/atoms/src/components/video/videojs/videojs-vr-172.d.ts +11 -0
- package/library/packages/atoms/src/components/visually-hidden/visually-hidden.d.ts +24 -0
- package/library/packages/atoms/src/components/visually-hidden/visually-hidden.styles.d.ts +2 -0
- package/library/packages/atoms/src/index.d.ts +80 -0
- package/library/packages/atoms/src/utilities/animation-registry.d.ts +24 -0
- package/library/packages/atoms/src/utilities/animation.d.ts +1 -0
- package/library/packages/atoms/src/utilities/styles.d.ts +2 -0
- package/library/packages/atoms/src/utilities/type-check.d.ts +6 -0
- package/library/packages/base/src/cortex-element.d.ts +59 -0
- package/library/packages/base/src/cortex-light-element.d.ts +12 -0
- package/library/packages/base/src/highlightable-element.d.ts +76 -0
- package/library/packages/base/src/resizable-element.d.ts +38 -0
- package/library/packages/data/src/icons.json.d.ts +161323 -0
- package/library/packages/events/src/cx-3d-viewer-config-switch-toggle.d.ts +8 -0
- package/library/packages/events/src/cx-3d-viewer-control-animation-seek.d.ts +8 -0
- package/library/packages/events/src/cx-3d-viewer-control-fullscreen-request.d.ts +8 -0
- package/library/packages/events/src/cx-3d-viewer-control-play-button-toggle.d.ts +6 -0
- package/library/packages/events/src/cx-3d-viewer-control-replay-click.d.ts +6 -0
- package/library/packages/events/src/cx-3d-viewer-control-reset-position-click.d.ts +6 -0
- package/library/packages/events/src/cx-3d-viewer-select.d.ts +9 -0
- package/library/packages/events/src/cx-add.d.ts +6 -0
- package/library/packages/events/src/cx-after-collapse.d.ts +6 -0
- package/library/packages/events/src/cx-after-expand.d.ts +6 -0
- package/library/packages/events/src/cx-after-hide.d.ts +6 -0
- package/library/packages/events/src/cx-after-show.d.ts +6 -0
- package/library/packages/events/src/cx-asset-data-display-slot-change.d.ts +6 -0
- package/library/packages/events/src/cx-asset-picker-delete.d.ts +6 -0
- package/library/packages/events/src/cx-asset-picker-select.d.ts +8 -0
- package/library/packages/events/src/cx-asset-request-status.d.ts +9 -0
- package/library/packages/events/src/cx-bento-resize.d.ts +8 -0
- package/library/packages/events/src/cx-bicolor-picker-change.d.ts +8 -0
- package/library/packages/events/src/cx-blur.d.ts +6 -0
- package/library/packages/events/src/cx-border-input-group-change.d.ts +8 -0
- package/library/packages/events/src/cx-cancel-connection.d.ts +8 -0
- package/library/packages/events/src/cx-cancel-upload.d.ts +8 -0
- package/library/packages/events/src/cx-cancel.d.ts +6 -0
- package/library/packages/events/src/cx-change.d.ts +6 -0
- package/library/packages/events/src/cx-clear-cache.d.ts +6 -0
- package/library/packages/events/src/cx-clear.d.ts +6 -0
- package/library/packages/events/src/cx-close.d.ts +6 -0
- package/library/packages/events/src/cx-collapse.d.ts +6 -0
- package/library/packages/events/src/cx-color-swatch-picker-add.d.ts +8 -0
- package/library/packages/events/src/cx-color-swatch-picker-edit.d.ts +8 -0
- package/library/packages/events/src/cx-column-group-scroll.d.ts +6 -0
- package/library/packages/events/src/cx-column-resizable-change.d.ts +6 -0
- package/library/packages/events/src/cx-column-scroll.d.ts +6 -0
- package/library/packages/events/src/cx-columns-display-change.d.ts +8 -0
- package/library/packages/events/src/cx-comment-mention-select.d.ts +12 -0
- package/library/packages/events/src/cx-connect.d.ts +8 -0
- package/library/packages/events/src/cx-connected.d.ts +6 -0
- package/library/packages/events/src/cx-content-builder-gallery-change.d.ts +10 -0
- package/library/packages/events/src/cx-content-builder-page-change.d.ts +9 -0
- package/library/packages/events/src/cx-content-builder-page-delete.d.ts +6 -0
- package/library/packages/events/src/cx-copy.d.ts +8 -0
- package/library/packages/events/src/cx-corner-position-input-group-change.d.ts +12 -0
- package/library/packages/events/src/cx-disconnect.d.ts +8 -0
- package/library/packages/events/src/cx-dot-pagination-change.d.ts +8 -0
- package/library/packages/events/src/cx-dot-pagination-focus.d.ts +6 -0
- package/library/packages/events/src/cx-download-format-picker-delete.d.ts +6 -0
- package/library/packages/events/src/cx-download-format-picker-select.d.ts +6 -0
- package/library/packages/events/src/cx-download-format-request-status.d.ts +9 -0
- package/library/packages/events/src/cx-drag-end.d.ts +6 -0
- package/library/packages/events/src/cx-drag-start.d.ts +6 -0
- package/library/packages/events/src/cx-enter.d.ts +9 -0
- package/library/packages/events/src/cx-error.d.ts +8 -0
- package/library/packages/events/src/cx-expand.d.ts +6 -0
- package/library/packages/events/src/cx-export-settings.d.ts +6 -0
- package/library/packages/events/src/cx-finish.d.ts +6 -0
- package/library/packages/events/src/cx-focus.d.ts +6 -0
- package/library/packages/events/src/cx-gallery-chunk-request.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-config-save.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-click.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-item-config.d.ts +11 -0
- package/library/packages/events/src/cx-gallery-item-delete.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-move-left.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-move-right.d.ts +9 -0
- package/library/packages/events/src/cx-gallery-item-open-config.d.ts +8 -0
- package/library/packages/events/src/cx-gallery-item-select.d.ts +11 -0
- package/library/packages/events/src/cx-hide.d.ts +6 -0
- package/library/packages/events/src/cx-hover.d.ts +9 -0
- package/library/packages/events/src/cx-image-click.d.ts +15 -0
- package/library/packages/events/src/cx-import-settings.d.ts +6 -0
- package/library/packages/events/src/cx-initial-focus.d.ts +6 -0
- package/library/packages/events/src/cx-input.d.ts +6 -0
- package/library/packages/events/src/cx-invalid.d.ts +6 -0
- package/library/packages/events/src/cx-invoked.d.ts +6 -0
- package/library/packages/events/src/cx-keydown.d.ts +6 -0
- package/library/packages/events/src/cx-lazy-change.d.ts +6 -0
- package/library/packages/events/src/cx-lazy-load.d.ts +6 -0
- package/library/packages/events/src/cx-list-editor-change.d.ts +8 -0
- package/library/packages/events/src/cx-load-more.d.ts +8 -0
- package/library/packages/events/src/cx-load.d.ts +6 -0
- package/library/packages/events/src/cx-mark-favorite.d.ts +8 -0
- package/library/packages/events/src/cx-masonry-select.d.ts +11 -0
- package/library/packages/events/src/cx-mount-request-asset.d.ts +6 -0
- package/library/packages/events/src/cx-mutation.d.ts +8 -0
- package/library/packages/events/src/cx-open-cache-location.d.ts +6 -0
- package/library/packages/events/src/cx-open-drive.d.ts +24 -0
- package/library/packages/events/src/cx-open-search.d.ts +6 -0
- package/library/packages/events/src/cx-padding-input-group-change.d.ts +8 -0
- package/library/packages/events/src/cx-page-change.d.ts +8 -0
- package/library/packages/events/src/cx-page-outline-headings-count.d.ts +8 -0
- package/library/packages/events/src/cx-page-outline-item-click.d.ts +8 -0
- package/library/packages/events/src/cx-page-size-change.d.ts +8 -0
- package/library/packages/events/src/cx-pause-upload.d.ts +8 -0
- package/library/packages/events/src/cx-ready.d.ts +6 -0
- package/library/packages/events/src/cx-refresh.d.ts +6 -0
- package/library/packages/events/src/cx-register-tag.d.ts +8 -0
- package/library/packages/events/src/cx-remove.d.ts +6 -0
- package/library/packages/events/src/cx-renew-token.d.ts +6 -0
- package/library/packages/events/src/cx-reorder.d.ts +15 -0
- package/library/packages/events/src/cx-reposition.d.ts +6 -0
- package/library/packages/events/src/cx-request-close.d.ts +9 -0
- package/library/packages/events/src/cx-resize.d.ts +8 -0
- package/library/packages/events/src/cx-resume-upload.d.ts +8 -0
- package/library/packages/events/src/cx-retry-upload.d.ts +8 -0
- package/library/packages/events/src/cx-save-settings.d.ts +10 -0
- package/library/packages/events/src/cx-save.d.ts +6 -0
- package/library/packages/events/src/cx-sb-button-click.d.ts +14 -0
- package/library/packages/events/src/cx-search.d.ts +8 -0
- package/library/packages/events/src/cx-select.d.ts +8 -0
- package/library/packages/events/src/cx-selected-change.d.ts +8 -0
- package/library/packages/events/src/cx-selection-change.d.ts +8 -0
- package/library/packages/events/src/cx-shadow-input-group-change.d.ts +8 -0
- package/library/packages/events/src/cx-show.d.ts +6 -0
- package/library/packages/events/src/cx-slide-change.d.ts +9 -0
- package/library/packages/events/src/cx-start.d.ts +6 -0
- package/library/packages/events/src/cx-swatch-add.d.ts +6 -0
- package/library/packages/events/src/cx-tab-hide.d.ts +8 -0
- package/library/packages/events/src/cx-tab-show.d.ts +8 -0
- package/library/packages/events/src/cx-table-advanced-search-click.d.ts +6 -0
- package/library/packages/events/src/cx-table-export.d.ts +10 -0
- package/library/packages/events/src/cx-table-row-action-click.d.ts +14 -0
- package/library/packages/events/src/cx-time-based-change.d.ts +8 -0
- package/library/packages/events/src/cx-time-update.d.ts +8 -0
- package/library/packages/events/src/cx-typeface-change.d.ts +6 -0
- package/library/packages/events/src/cx-typeface-download.d.ts +6 -0
- package/library/packages/events/src/cx-unmark-favorite.d.ts +8 -0
- package/library/packages/events/src/cx-video-click.d.ts +15 -0
- package/library/packages/events/src/cx-view-logs.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +127 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.constants.d.ts +28 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.d.ts +206 -0
- package/library/packages/molecules/src/3d-viewer/3d-viewer.styles.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.d.ts +76 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-config/3d-viewer-config.styles.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-control/3d-viewer-control.d.ts +80 -0
- package/library/packages/molecules/src/3d-viewer/components/3d-viewer-control/3d-viewer-control.styles.d.ts +2 -0
- package/library/packages/molecules/src/3d-viewer/controllers/animation-controller.d.ts +90 -0
- package/library/packages/molecules/src/3d-viewer/controllers/camera-controller.d.ts +75 -0
- package/library/packages/molecules/src/3d-viewer/controllers/environment-controller.d.ts +65 -0
- package/library/packages/molecules/src/3d-viewer/controllers/lighting-controller.d.ts +39 -0
- package/library/packages/molecules/src/3d-viewer/controllers/model-controller.d.ts +75 -0
- package/library/packages/molecules/src/3d-viewer/controllers/scene-controller.d.ts +94 -0
- package/library/packages/molecules/src/3d-viewer/controllers/scene-effects.d.ts +92 -0
- package/library/packages/molecules/src/asset-data-display/asset-data-display.d.ts +56 -0
- package/library/packages/molecules/src/asset-data-display/asset-data-display.styles.d.ts +2 -0
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +67 -0
- package/library/packages/molecules/src/asset-picker/asset-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/bicolor-picker/bicolor-picker.d.ts +22 -0
- package/library/packages/molecules/src/bicolor-picker/bicolor-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/border-input-group/border-input-group.d.ts +24 -0
- package/library/packages/molecules/src/border-input-group/border-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/color-swatch/color-swatch.d.ts +136 -0
- package/library/packages/molecules/src/color-swatch/color-swatch.styles.d.ts +2 -0
- package/library/packages/molecules/src/confirm-popover/confirm-popover.d.ts +81 -0
- package/library/packages/molecules/src/confirm-popover/confirm-popover.style.d.ts +2 -0
- package/library/packages/molecules/src/corner-position-input-group/corner-position-input-group.d.ts +39 -0
- package/library/packages/molecules/src/corner-position-input-group/corner-position-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/cropper/cropper.d.ts +59 -0
- package/library/packages/molecules/src/cropper/cropper.styles.d.ts +2 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +37 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/ReactCrop.d.ts +140 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/index.d.ts +4 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/types.d.ts +17 -0
- package/library/packages/molecules/src/cropper/react/ReactCrop/utils.d.ts +26 -0
- package/library/packages/molecules/src/dashboard-iframe/dashboard-iframe.d.ts +61 -0
- package/library/packages/molecules/src/dashboard-iframe/dashboard-iframe.styles.d.ts +2 -0
- package/library/packages/molecules/src/data-tab-group/data-tab-group.d.ts +35 -0
- package/library/packages/molecules/src/data-tab-group/data-tab-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/details-group/details-group.d.ts +26 -0
- package/library/packages/molecules/src/details-group/details-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/docs-example/docs-example.d.ts +76 -0
- package/library/packages/molecules/src/docs-example/docs-example.style.d.ts +2 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +72 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/dynamic-select/dynamic-select.d.ts +209 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +42 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree-item/folder-select-tree-item.d.ts +55 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +54 -0
- package/library/packages/molecules/src/folder-select/folder-select.styles.d.ts +2 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +157 -0
- package/library/packages/molecules/src/gallery-item/gallery-item.styles.d.ts +2 -0
- package/library/packages/molecules/src/graph-view/graph-view.d.ts +99 -0
- package/library/packages/molecules/src/graph-view/graph-view.styles.d.ts +2 -0
- package/library/packages/molecules/src/graph-view/react/GraphView.d.ts +17 -0
- package/library/packages/molecules/src/graph-view/react/components/ArrayClamp.d.ts +9 -0
- package/library/packages/molecules/src/graph-view/react/components/CustomControls.d.ts +5 -0
- package/library/packages/molecules/src/graph-view/react/components/CustomEdge.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/components/CustomNode.d.ts +12 -0
- package/library/packages/molecules/src/graph-view/react/components/EdgeMenu.d.ts +7 -0
- package/library/packages/molecules/src/graph-view/react/components/GhostNode.d.ts +7 -0
- package/library/packages/molecules/src/graph-view/react/components/Loader.d.ts +5 -0
- package/library/packages/molecules/src/graph-view/react/components/SelfDecorEdge.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/components/TemporaryEdge.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/components/index.d.ts +7 -0
- package/library/packages/molecules/src/graph-view/react/constant.d.ts +51 -0
- package/library/packages/molecules/src/graph-view/react/context.d.ts +20 -0
- package/library/packages/molecules/src/graph-view/react/getSmoothstepEdge.d.ts +44 -0
- package/library/packages/molecules/src/graph-view/react/helpers/countRectanglesCrossed.d.ts +14 -0
- package/library/packages/molecules/src/graph-view/react/helpers/edgeLabelPosition.d.ts +41 -0
- package/library/packages/molecules/src/graph-view/react/helpers/edgeLayout.d.ts +42 -0
- package/library/packages/molecules/src/graph-view/react/helpers/generateSelfDecorEdge.d.ts +3 -0
- package/library/packages/molecules/src/graph-view/react/helpers/placeAlongThePath.d.ts +20 -0
- package/library/packages/molecules/src/graph-view/react/hooks/index.d.ts +1 -0
- package/library/packages/molecules/src/graph-view/react/hooks/useEdge.d.ts +29 -0
- package/library/packages/molecules/src/graph-view/react/index.d.ts +4 -0
- package/library/packages/molecules/src/graph-view/react/utils.d.ts +58 -0
- package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +80 -0
- package/library/packages/molecules/src/icon-picker/icon-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/index.d.ts +33 -0
- package/library/packages/molecules/src/library-index.d.ts +18 -0
- package/library/packages/molecules/src/list-editor/list-editor.d.ts +67 -0
- package/library/packages/molecules/src/list-editor/list-editor.styles.d.ts +2 -0
- package/library/packages/molecules/src/masonry/masonry.d.ts +91 -0
- package/library/packages/molecules/src/masonry/masonry.styles.d.ts +2 -0
- package/library/packages/molecules/src/padding-input-group/padding-input-group.d.ts +20 -0
- package/library/packages/molecules/src/padding-input-group/padding-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/page-outline/page-outline.d.ts +104 -0
- package/library/packages/molecules/src/page-outline/page-outline.styles.d.ts +2 -0
- package/library/packages/molecules/src/position-picker/position-picker.d.ts +30 -0
- package/library/packages/molecules/src/position-picker/position-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/search-box/search-box.d.ts +107 -0
- package/library/packages/molecules/src/search-box/search-box.styles.d.ts +2 -0
- package/library/packages/molecules/src/shadow-input-group/shadow-input-group.d.ts +25 -0
- package/library/packages/molecules/src/shadow-input-group/shadow-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/share-option-list/components/share-option-list-item.d.ts +30 -0
- package/library/packages/molecules/src/share-option-list/components/share-option-list-item.styles.d.ts +2 -0
- package/library/packages/molecules/src/share-option-list/share-option-list.d.ts +122 -0
- package/library/packages/molecules/src/share-option-list/share-option-list.styles.d.ts +2 -0
- package/library/packages/molecules/src/sidebar/sidebar.d.ts +85 -0
- package/library/packages/molecules/src/sidebar/sidebar.styles.d.ts +2 -0
- package/library/packages/molecules/src/size-input-group/size-input-group.d.ts +54 -0
- package/library/packages/molecules/src/size-input-group/size-input-group.styles.d.ts +2 -0
- package/library/packages/molecules/src/stepper-wizard/stepper-wizard.d.ts +32 -0
- package/library/packages/molecules/src/stepper-wizard/stepper-wizard.styles.d.ts +2 -0
- package/library/packages/molecules/src/storybook/storybook.d.ts +60 -0
- package/library/packages/molecules/src/storybook/storybook.styles.d.ts +2 -0
- package/library/packages/molecules/src/typeface/typeface.d.ts +72 -0
- package/library/packages/molecules/src/typeface/typeface.styles.d.ts +2 -0
- package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +62 -0
- package/library/packages/molecules/src/view-and-sort/view-and-sort.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +292 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.utils.d.ts +10 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +205 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-extension/asset-link-format-extension.d.ts +49 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-extension/asset-link-format-extension.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-proxy/asset-link-format-proxy.d.ts +96 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-proxy/asset-link-format-proxy.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.d.ts +87 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.d.ts +164 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +80 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.styles.d.ts +2 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-metadata/asset-link-format-metadata.d.ts +69 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-metadata/asset-link-format-metadata.styles.d.ts +2 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +241 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.styles.d.ts +2 -0
- package/library/packages/organisms/src/carousel/autoplay-controller.d.ts +21 -0
- package/library/packages/organisms/src/carousel/carousel.d.ts +371 -0
- package/library/packages/organisms/src/carousel/carousel.styles.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/chatbot.constants.d.ts +8 -0
- package/library/packages/organisms/src/chatbot/chatbot.d.ts +129 -0
- package/library/packages/organisms/src/chatbot/chatbot.style.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/chatbot.utils.d.ts +26 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-footer/chatbot-footer.d.ts +34 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-footer/chatbot-footer.style.d.ts +2 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-popup/chatbot-popup.d.ts +29 -0
- package/library/packages/organisms/src/chatbot/components/chatbot-popup/chatbot-popup.style.d.ts +2 -0
- package/library/packages/organisms/src/cluster-management/cluster-management.d.ts +104 -0
- package/library/packages/organisms/src/cluster-management/cluster-management.style.d.ts +2 -0
- package/library/packages/organisms/src/cluster-management/components/cluster-management-service.d.ts +44 -0
- package/library/packages/organisms/src/cluster-management/components/cluster-management-service.style.d.ts +2 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.constants.d.ts +116 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +114 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/comment.d.ts +121 -0
- package/library/packages/organisms/src/comment/comment.extensions.d.ts +9 -0
- package/library/packages/organisms/src/comment/comment.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/components/comment-mention/comment-mention.d.ts +44 -0
- package/library/packages/organisms/src/comment/components/comment-mention/comment-mention.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.d.ts +88 -0
- package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.styles.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/bullet-list.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/google.d.ts +7 -0
- package/library/packages/organisms/src/comment/extensions/index.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/link.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/mention.d.ts +82 -0
- package/library/packages/organisms/src/comment/extensions/ordered-list.d.ts +2 -0
- package/library/packages/organisms/src/comment/extensions/time.d.ts +63 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.d.ts +129 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/block-picker/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.constants.d.ts +57 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.d.ts +147 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/color-swatch-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/color-swatch-picker/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +315 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/config-form/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +194 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.utils.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.d.ts +69 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/folder-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/folder-picker/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.d.ts +109 -0
- package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +132 -0
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/components/page-picker/page-picker.d.ts +65 -0
- package/library/packages/organisms/src/content-builder/components/page-picker/page-picker.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/configs/accordion.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/configs/analytics.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/configs/button.d.ts +35 -0
- package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +45 -0
- package/library/packages/organisms/src/content-builder/configs/color-swatches.d.ts +16 -0
- package/library/packages/organisms/src/content-builder/configs/column-group.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/configs/column.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/configs/divider.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/configs/font-kit.d.ts +25 -0
- package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +48 -0
- package/library/packages/organisms/src/content-builder/configs/header.d.ts +18 -0
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +52 -0
- package/library/packages/organisms/src/content-builder/configs/index.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/configs/rich-text.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/configs/search-box.d.ts +16 -0
- package/library/packages/organisms/src/content-builder/configs/tab-group.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/configs/text.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/configs/video.d.ts +47 -0
- package/library/packages/organisms/src/content-builder/configsController.d.ts +410 -0
- package/library/packages/organisms/src/content-builder/content-builder-config.d.ts +59 -0
- package/library/packages/organisms/src/content-builder/content-builder-constants.d.ts +32 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +293 -0
- package/library/packages/organisms/src/content-builder/content-builder.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +12 -0
- package/library/packages/organisms/src/content-builder/plugins/accordion.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/analytics.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/plugins/button.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/carousel.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/color-swatches.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/plugins/column-group.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/column.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/core.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/custom-frame.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/divider.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/font-kit.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/gallery.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/header.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/image.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/index.d.ts +21 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/bubble-menu.d.ts +70 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/anchor-dialog.d.ts +35 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/image-dialog.d.ts +97 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/image-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/index.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +231 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/select-with-tooltip.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.d.ts +45 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/special-char-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/table-dialog.d.ts +58 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/table-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.d.ts +28 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-code-block-toolbar/rte-code-block-toolbar.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.d.ts +67 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-image-viewer/rte-image-viewer.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/index.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.d.ts +23 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-table-generator/rte-table-generator.styles.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/constant.d.ts +48 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/anchor/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/aside-block/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/blockquote/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/bullet-list/index.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlock.d.ts +44 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/CodeBlockPrism.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/PrismPlugin.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/code-block/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/div/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/document/commands.d.ts +15 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/document/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/font-size/index.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/heading/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/highlight/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/convertSrcToBlob.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/image/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/index.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/inline-class/index.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/line-height/index.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/autolink.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/clickHandler.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/isValidUrl.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/helpers/pasteHandler.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/link/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/list-item/commands.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/list-item/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/ordered-list/index.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/other-elements/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/other-styles/index.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/paragraph/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/placeholder/index.d.ts +61 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/cellselection.d.ts +23 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/columnResizing.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/commands.d.ts +19 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/copyPaste.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createCell.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/createTable.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/fixTables.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/getTableNodeTypes.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/index.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/input.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/rowResizing.d.ts +27 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/tableEditing.d.ts +32 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/table/utils.d.ts +24 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/text-align/index.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/extensions/text-style/index.d.ts +17 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/index.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/toolbar.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/convertColorToHex.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/extendClassStyle.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getImageNaturalWidthHeight.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getSelectedCells.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/getStyles.d.ts +21 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isAbsolute.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isValidAnchorId.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/isValidImageUrl.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/link.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/parseBooleanString.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/parseBorderProperty.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/processAnchorLink.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/utils/textblockTypeInputRuleNoDelete.d.ts +3 -0
- package/library/packages/organisms/src/content-builder/plugins/search-box.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/tab-group.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/text.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/toolbar.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/plugins/video.d.ts +14 -0
- package/library/packages/organisms/src/content-builder/plugins/wrapper-container.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +125 -0
- package/library/packages/organisms/src/downloader/data/core/WorkerProxy.d.ts +50 -0
- package/library/packages/organisms/src/downloader/data/core/worker/PortManager.d.ts +13 -0
- package/library/packages/organisms/src/downloader/data/core/worker/Requests.d.ts +66 -0
- package/library/packages/organisms/src/downloader/data/core/worker/Responses.d.ts +49 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/DownloadManager.d.ts +130 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/api/DownloadApiClient.d.ts +18 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/api/index.d.ts +3 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/ConcurrencyError.d.ts +3 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadChunksRepository.d.ts +42 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadDatabase.d.ts +45 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadFilesRepository.d.ts +119 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/DownloadTransactionsRepository.d.ts +38 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/db/index.d.ts +6 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/event/EventHub.d.ts +8 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/event/index.d.ts +3 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/storage/DiskStorage.d.ts +43 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/storage/IndexedDBStorage.d.ts +33 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/storage/index.d.ts +4 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/DatabaseLocker.d.ts +14 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/Logger.d.ts +9 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/Retrier.d.ts +8 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/UserPromptService.d.ts +5 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/WebLocker.d.ts +12 -0
- package/library/packages/organisms/src/downloader/data/core/worker/app/utilities/index.d.ts +6 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/BackgroundJob.d.ts +19 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/ChunkDownloader.d.ts +53 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/DownloadObserver.d.ts +18 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/DownloadSpeedMonitor.d.ts +25 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/FileChunkAssembler.d.ts +29 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/FileChunkSplitter.d.ts +23 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/LockBreaker.d.ts +15 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/ServerProcessingFileWatcher.d.ts +29 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/TransactionFilesFetcher.d.ts +33 -0
- package/library/packages/organisms/src/downloader/data/core/worker/background/index.d.ts +11 -0
- package/library/packages/organisms/src/downloader/data/core/worker/events/Event.d.ts +5 -0
- package/library/packages/organisms/src/downloader/data/core/worker/events/EventHandler.d.ts +16 -0
- package/library/packages/organisms/src/downloader/data/core/worker/events/index.d.ts +6 -0
- package/library/packages/organisms/src/downloader/data/core/worker/external/IDownloadApiClient.d.ts +60 -0
- package/library/packages/organisms/src/downloader/data/core/worker/external/index.d.ts +4 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/BaseModel.d.ts +11 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadChunk.d.ts +42 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadFile.d.ts +170 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/DownloadTransaction.d.ts +28 -0
- package/library/packages/organisms/src/downloader/data/core/worker/models/index.d.ts +5 -0
- package/library/packages/organisms/src/downloader/data/core/worker/storage/index.d.ts +34 -0
- package/library/packages/organisms/src/downloader/data/core/worker/utilities/FilePathFixer.d.ts +17 -0
- package/library/packages/organisms/src/downloader/data/core/worker/utilities/IUserPromptService.d.ts +27 -0
- package/library/packages/organisms/src/downloader/data/core/worker/utilities/index.d.ts +18 -0
- package/library/packages/organisms/src/downloader/downloader.constants.d.ts +34 -0
- package/library/packages/organisms/src/downloader/downloader.d.ts +211 -0
- package/library/packages/organisms/src/downloader/downloader.style.d.ts +2 -0
- package/library/packages/organisms/src/downloader/downloader.utils.d.ts +7 -0
- package/library/packages/organisms/src/file-on-demand/components/folder-item/folder-item.d.ts +53 -0
- package/library/packages/organisms/src/file-on-demand/components/folder-tree/folder-tree.d.ts +39 -0
- package/library/packages/organisms/src/file-on-demand/components/folder-tree/folder-tree.style.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/components/index.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.constants.d.ts +34 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.d.ts +267 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.style.d.ts +2 -0
- package/library/packages/organisms/src/file-on-demand/file-on-demand.utils.d.ts +52 -0
- package/library/packages/organisms/src/index.d.ts +15 -0
- package/library/packages/organisms/src/library-index.d.ts +3 -0
- package/library/packages/organisms/src/multi-select/components/board/board.d.ts +116 -0
- package/library/packages/organisms/src/multi-select/components/board/board.styles.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/components/board/board.utils.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/components/board-list-item/board-list-item.d.ts +49 -0
- package/library/packages/organisms/src/multi-select/components/board-list-item/board-list-item.styles.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/multi-select.d.ts +85 -0
- package/library/packages/organisms/src/multi-select/multi-select.styles.d.ts +2 -0
- package/library/packages/organisms/src/multi-select/multi-select.utils.d.ts +3 -0
- package/library/packages/organisms/src/template-switcher/template-switcher-example.data.d.ts +5 -0
- package/library/packages/organisms/src/template-switcher/template-switcher.d.ts +51 -0
- package/library/packages/organisms/src/template-switcher/template-switcher.icons.d.ts +7 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Break/break.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Break/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/BubbleMenu/bubble-menu.d.ts +68 -0
- package/library/packages/organisms/src/text-to-speech/extensions/BubbleMenu/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/CleanPaste/cleanPaste.d.ts +3 -0
- package/library/packages/organisms/src/text-to-speech/extensions/CleanPaste/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Selection/index.d.ts +4 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Selection/selection.d.ts +3 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Tune/index.d.ts +1 -0
- package/library/packages/organisms/src/text-to-speech/extensions/Tune/tune.d.ts +7 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.api.d.ts +10 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.constants.d.ts +232 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.d.ts +156 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.data.d.ts +3 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.extensions.d.ts +16 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.styles.d.ts +2 -0
- package/library/packages/organisms/src/text-to-speech/text-to-speech.utils.d.ts +52 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.d.ts +71 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-chapters-manager/video-chapters-manager.utils.d.ts +25 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-timeline/video-editor-timeline.d.ts +64 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-timeline/video-editor-timeline.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-toolbar/video-editor-toolbar.d.ts +84 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-toolbar/video-editor-toolbar.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-track/video-editor-track.d.ts +44 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-track/video-editor-track.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.d.ts +65 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.styles.d.ts +2 -0
- package/library/packages/organisms/src/video-editor/video-editor.d.ts +102 -0
- package/library/packages/organisms/src/video-editor/video-editor.styles.d.ts +2 -0
- package/library/packages/services/src/api/api.d.ts +2 -0
- package/library/packages/services/src/api/asset/asset.d.ts +60 -0
- package/library/packages/services/src/api/asset/index.d.ts +1 -0
- package/library/packages/services/src/api/autocomplete/autocomplete.d.ts +8 -0
- package/library/packages/services/src/api/autocomplete/index.d.ts +1 -0
- package/library/packages/services/src/api/chapter/chapter.d.ts +7 -0
- package/library/packages/services/src/api/cms5/cms5.d.ts +29 -0
- package/library/packages/services/src/api/cms5/index.d.ts +1 -0
- package/library/packages/services/src/api/dashboard/dashboard.d.ts +7 -0
- package/library/packages/services/src/api/dashboard/index.d.ts +1 -0
- package/library/packages/services/src/api/endpoints.d.ts +49 -0
- package/library/packages/services/src/api/folder/folder.d.ts +26 -0
- package/library/packages/services/src/api/folder/folder.types.d.ts +16 -0
- package/library/packages/services/src/api/folder/index.d.ts +1 -0
- package/library/packages/services/src/api/metadata/index.d.ts +1 -0
- package/library/packages/services/src/api/metadata/metadata.d.ts +3 -0
- package/library/packages/services/src/api/teamspace/index.d.ts +1 -0
- package/library/packages/services/src/api/teamspace/teamspace.d.ts +23 -0
- package/library/packages/services/src/global-styles/global-styles.d.ts +2 -0
- package/library/packages/styles/src/component.styles.d.ts +2 -0
- package/library/packages/styles/src/form-control.styles.d.ts +2 -0
- package/library/packages/styles/src/overlay-scrollbar.styles.d.ts +2 -0
- package/library/packages/styles/src/prosemirror.styles.d.ts +2 -0
- package/library/packages/styles/src/resizable-component.styles.d.ts +2 -0
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +13 -0
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +40 -0
- package/library/packages/types/src/3d-viewer.d.ts +32 -0
- package/library/packages/types/src/asset-click-action.d.ts +23 -0
- package/library/packages/types/src/asset-data-display.d.ts +5 -0
- package/library/packages/types/src/asset-link-format.d.ts +85 -0
- package/library/packages/types/src/bento-grid.d.ts +18 -0
- package/library/packages/types/src/button.d.ts +16 -0
- package/library/packages/types/src/chatbot.d.ts +30 -0
- package/library/packages/types/src/color-picker.d.ts +49 -0
- package/library/packages/types/src/color-swatch-group.d.ts +11 -0
- package/library/packages/types/src/color-swatch.d.ts +15 -0
- package/library/packages/types/src/column.d.ts +10 -0
- package/library/packages/types/src/confirm-popover.d.ts +11 -0
- package/library/packages/types/src/content-builder.d.ts +264 -0
- package/library/packages/types/src/dialog.d.ts +6 -0
- package/library/packages/types/src/downloader.d.ts +44 -0
- package/library/packages/types/src/file-on-demand.d.ts +67 -0
- package/library/packages/types/src/folder-select.d.ts +28 -0
- package/library/packages/types/src/font-kit.d.ts +22 -0
- package/library/packages/types/src/gallery-item.d.ts +38 -0
- package/library/packages/types/src/gallery.d.ts +40 -0
- package/library/packages/types/src/header.d.ts +14 -0
- package/library/packages/types/src/highlightable-element.d.ts +29 -0
- package/library/packages/types/src/iframe.d.ts +4 -0
- package/library/packages/types/src/image.d.ts +4 -0
- package/library/packages/types/src/index.d.ts +58 -0
- package/library/packages/types/src/masonry.d.ts +21 -0
- package/library/packages/types/src/option.d.ts +4 -0
- package/library/packages/types/src/page-outline.d.ts +9 -0
- package/library/packages/types/src/pagination.d.ts +5 -0
- package/library/packages/types/src/position-picker.d.ts +11 -0
- package/library/packages/types/src/resizable-element.d.ts +4 -0
- package/library/packages/types/src/sb-button.d.ts +6 -0
- package/library/packages/types/src/search-box.d.ts +10 -0
- package/library/packages/types/src/size-input-group.d.ts +4 -0
- package/library/packages/types/src/tab-group.d.ts +27 -0
- package/library/packages/types/src/table.d.ts +2931 -0
- package/library/packages/types/src/text-to-speech.d.ts +42 -0
- package/library/packages/types/src/typography.d.ts +12 -0
- package/library/packages/types/src/video-editor.d.ts +52 -0
- package/library/packages/utils/src/actions/asset-click.d.ts +9 -0
- package/library/packages/utils/src/array/array.d.ts +92 -0
- package/library/packages/utils/src/browser/browser.d.ts +13 -0
- package/library/packages/utils/src/color/color.d.ts +77 -0
- package/library/packages/utils/src/custom-element/active-elements.d.ts +15 -0
- package/library/packages/utils/src/custom-element/animate.d.ts +22 -0
- package/library/packages/utils/src/custom-element/converters.d.ts +5 -0
- package/library/packages/utils/src/custom-element/custom-element.d.ts +39 -0
- package/library/packages/utils/src/custom-element/debounce.d.ts +1 -0
- package/library/packages/utils/src/custom-element/default-value.d.ts +3 -0
- package/library/packages/utils/src/custom-element/drag.d.ts +15 -0
- package/library/packages/utils/src/custom-element/event.d.ts +2 -0
- package/library/packages/utils/src/custom-element/form.d.ts +79 -0
- package/library/packages/utils/src/custom-element/i18n-utils.d.ts +70 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +691 -0
- package/library/packages/utils/src/custom-element/math.d.ts +2 -0
- package/library/packages/utils/src/custom-element/modal.d.ts +25 -0
- package/library/packages/utils/src/custom-element/offset.d.ts +11 -0
- package/library/packages/utils/src/custom-element/popup.d.ts +10 -0
- package/library/packages/utils/src/custom-element/scroll.d.ts +11 -0
- package/library/packages/utils/src/custom-element/scrollend-polyfill.d.ts +1 -0
- package/library/packages/utils/src/custom-element/slot.d.ts +24 -0
- package/library/packages/utils/src/custom-element/tabbable.d.ts +9 -0
- package/library/packages/utils/src/custom-element/user-agent.d.ts +1 -0
- package/library/packages/utils/src/custom-element/watch.d.ts +28 -0
- package/library/packages/utils/src/dom/dom.d.ts +30 -0
- package/library/packages/utils/src/event/event.d.ts +1 -0
- package/library/packages/utils/src/fetch/fetchCortex.d.ts +3 -0
- package/library/packages/utils/src/form/form.d.ts +12 -0
- package/library/packages/utils/src/function/function.d.ts +1 -0
- package/library/packages/utils/src/gsap/gsap.d.ts +1 -0
- package/library/packages/utils/src/image/image.d.ts +28 -0
- package/library/packages/utils/src/number/number.d.ts +32 -0
- package/library/packages/utils/src/object/object.d.ts +4 -0
- package/library/packages/utils/src/parse/parse.d.ts +4 -0
- package/library/packages/utils/src/responsive/responsive.d.ts +11 -0
- package/library/packages/utils/src/storage/storage.d.ts +2 -0
- package/library/packages/utils/src/string/string.d.ts +117 -0
- package/library/packages/utils/src/toast/toast.d.ts +5 -0
- package/library/packages/utils/src/translations/en.d.ts +4 -0
- package/library/packages/utils/src/url/url.d.ts +6 -0
- package/library/packages/utils/src/video/video.d.ts +20 -0
- package/library/react-web-component.d.ts +7808 -0
- package/library/react-web-component.js +1 -0
- package/library/types.d.ts +4 -0
- package/package.json +40 -0
|
@@ -0,0 +1,2931 @@
|
|
|
1
|
+
import { ButtonVariant } from './button';
|
|
2
|
+
import { PaginationCounter } from './pagination';
|
|
3
|
+
|
|
4
|
+
export type CxTableEventName = `cx-table.${string}`;
|
|
5
|
+
export type DropdownSection = Record<string, string>;
|
|
6
|
+
export type DropdownItem = {
|
|
7
|
+
label?: string;
|
|
8
|
+
name: string;
|
|
9
|
+
prefixIcon?: string;
|
|
10
|
+
section?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare enum RowActionType {
|
|
13
|
+
Button = "button",
|
|
14
|
+
Dropdown = "dropdown"
|
|
15
|
+
}
|
|
16
|
+
export declare enum ScrollToRowPosition {
|
|
17
|
+
Bottom = "bottom",
|
|
18
|
+
Center = "center",
|
|
19
|
+
Nearest = "nearest",
|
|
20
|
+
Top = "top"
|
|
21
|
+
}
|
|
22
|
+
export declare enum SelectRangeType {
|
|
23
|
+
All = "all",
|
|
24
|
+
Cell = "cell",
|
|
25
|
+
Column = "column",
|
|
26
|
+
Row = "row"
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Tabulator Interface
|
|
30
|
+
*/
|
|
31
|
+
export interface ITabulator extends IModuleBinder {
|
|
32
|
+
options: Options;
|
|
33
|
+
columnManager: IColumnManager | null;
|
|
34
|
+
rowManager: IRowManager | null;
|
|
35
|
+
footerManager: IFooterManager | null;
|
|
36
|
+
toolbar: HTMLElement | undefined;
|
|
37
|
+
alertManager: IAlert | null;
|
|
38
|
+
vdomHoz: any;
|
|
39
|
+
externalEvents: IExternalEventBus | null;
|
|
40
|
+
eventBus: IInternalEventBus | null;
|
|
41
|
+
interactionMonitor: IInteractionManager | false;
|
|
42
|
+
browser: string;
|
|
43
|
+
browserSlow: boolean;
|
|
44
|
+
browserMobile: boolean;
|
|
45
|
+
rtl: boolean;
|
|
46
|
+
originalElement: HTMLElement | null;
|
|
47
|
+
componentFunctionBinder: IComponentFunctionBinder;
|
|
48
|
+
dataLoader: IDataLoader | null;
|
|
49
|
+
deprecationAdvisor: IDeprecationAdvisor;
|
|
50
|
+
optionsList: IOptionsList;
|
|
51
|
+
dependencyRegistry: IDependencyRegistry;
|
|
52
|
+
initialized: boolean;
|
|
53
|
+
destroyed: boolean;
|
|
54
|
+
element: HTMLElement;
|
|
55
|
+
tableWidth: number;
|
|
56
|
+
isResizingRow: boolean;
|
|
57
|
+
isResizingColumn: boolean;
|
|
58
|
+
hasResized: boolean;
|
|
59
|
+
initializeElement(element?: HTMLElement | string): boolean;
|
|
60
|
+
initializeCoreSystems(options?: Partial<Options>): void;
|
|
61
|
+
_create(): void;
|
|
62
|
+
_clearObjectPointers(): void;
|
|
63
|
+
_mapDeprecatedFunctionality(): void;
|
|
64
|
+
_clearSelection(): void;
|
|
65
|
+
_create(): void;
|
|
66
|
+
_rtlCheck(): void;
|
|
67
|
+
_clearObjectPointers(): void;
|
|
68
|
+
_buildElement(): void;
|
|
69
|
+
_initializeTable(): void;
|
|
70
|
+
_loadInitialData(): Promise<void>;
|
|
71
|
+
destroy(): void;
|
|
72
|
+
_detectBrowser(): void;
|
|
73
|
+
initGuard(func?: string | boolean, msg?: string): boolean;
|
|
74
|
+
blockRedraw(): void;
|
|
75
|
+
restoreRedraw(): void;
|
|
76
|
+
setData(data: any, params?: any, config?: any): Promise<void>;
|
|
77
|
+
clearData(): void;
|
|
78
|
+
getData(active?: RowRangeLookup): any[];
|
|
79
|
+
getDataCount(active?: RowRangeLookup): number;
|
|
80
|
+
replaceData(data: any, params?: any, config?: any): Promise<void>;
|
|
81
|
+
updateData(data: any[] | string): Promise<void>;
|
|
82
|
+
addData(data: any[] | string, pos?: AddRowPos, index?: any): Promise<any[]>;
|
|
83
|
+
updateOrAddData(data: any[] | string): Promise<any[]>;
|
|
84
|
+
getRow(index: any): any | false;
|
|
85
|
+
getRowFromPosition(position: number): any | false;
|
|
86
|
+
deleteRow(index: any | any[]): Promise<void>;
|
|
87
|
+
addRow(data: any | string, pos?: AddRowPos, index?: any): Promise<IRowComponent | IRow> | undefined;
|
|
88
|
+
updateOrAddRow(index: any, data: any | string): Promise<IRowComponent | IRow> | undefined;
|
|
89
|
+
updateRow(index: any, data: any | string): Promise<any>;
|
|
90
|
+
scrollToRow(index: any, position?: ScrollToRowPosition, ifVisible?: boolean): Promise<unknown> | undefined;
|
|
91
|
+
moveRow(from: any, to: any, after?: boolean): void;
|
|
92
|
+
getRows(active?: RowRangeLookup): any[];
|
|
93
|
+
getRowPosition(index: any): number | false;
|
|
94
|
+
setColumns(definition: any): void;
|
|
95
|
+
getColumns(structured?: boolean): any[];
|
|
96
|
+
getColumn(field: string): any | false;
|
|
97
|
+
getColumnDefinitions(): any[];
|
|
98
|
+
showColumn(field: string): Promise<boolean | void>;
|
|
99
|
+
hideColumn(field: ColumnLookup): boolean | void;
|
|
100
|
+
toggleColumn(field: string): Promise<boolean | void>;
|
|
101
|
+
addColumn(definition: any, before?: boolean, field?: ColumnLookup): Promise<IColumnComponent | IColumn> | undefined;
|
|
102
|
+
deleteColumn(field: string): Promise<void>;
|
|
103
|
+
updateColumnDefinition(field: string, definition: ColumnDefinition): Promise<IColumnComponent>;
|
|
104
|
+
moveColumn(from: string, to: string, after?: boolean): void;
|
|
105
|
+
scrollToColumn(field: ColumnLookup, position?: ScrollToColumnPosition, ifVisible?: boolean): Promise<void>;
|
|
106
|
+
redraw(force?: boolean): void;
|
|
107
|
+
setHeight(height: string | number): void;
|
|
108
|
+
on(key: string, callback: (...args: any[]) => any): void;
|
|
109
|
+
off(key: string, callback?: (...args: any[]) => any): void;
|
|
110
|
+
dispatchEvent(...args: any[]): any;
|
|
111
|
+
alert(contents: any, type?: string): void;
|
|
112
|
+
clearAlert(): void;
|
|
113
|
+
modExists(plugin: string, required?: boolean): boolean;
|
|
114
|
+
module(key: string): any;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Interface for tabulator table core features
|
|
118
|
+
*/
|
|
119
|
+
export interface ICellComponent {
|
|
120
|
+
_cell: ICell;
|
|
121
|
+
getValue(): any;
|
|
122
|
+
getOldValue(): any;
|
|
123
|
+
getInitialValue(): any;
|
|
124
|
+
getElement(): HTMLElement | null;
|
|
125
|
+
getContentElement(): HTMLElement | null;
|
|
126
|
+
getRow(): IRowComponent;
|
|
127
|
+
getData(transform?: string): Record<string, any>;
|
|
128
|
+
getType(): string;
|
|
129
|
+
getField(): string;
|
|
130
|
+
getColumn(): IColumnComponent;
|
|
131
|
+
setValue(value: any, mutate?: boolean): void;
|
|
132
|
+
restoreOldValue(): void;
|
|
133
|
+
restoreInitialValue(): void;
|
|
134
|
+
checkHeight(): void;
|
|
135
|
+
getTable(): ITabulator;
|
|
136
|
+
_getSelf(): ICell;
|
|
137
|
+
}
|
|
138
|
+
export interface ICell extends ICoreFeature {
|
|
139
|
+
column: IColumn;
|
|
140
|
+
row: IRow;
|
|
141
|
+
element: HTMLElement | null;
|
|
142
|
+
contentElement: HTMLElement | null;
|
|
143
|
+
value: any;
|
|
144
|
+
initialValue: any;
|
|
145
|
+
oldValue: any;
|
|
146
|
+
modules: Record<string, any>;
|
|
147
|
+
height: number | null;
|
|
148
|
+
width: number | string | null;
|
|
149
|
+
minWidth: number | null;
|
|
150
|
+
maxWidth: number | null;
|
|
151
|
+
component: ICellComponent | null;
|
|
152
|
+
loaded: boolean;
|
|
153
|
+
calcs?: Record<string, any>;
|
|
154
|
+
build(): void;
|
|
155
|
+
generateElement(): void;
|
|
156
|
+
_configureCell(): void;
|
|
157
|
+
updateCellClass(): void;
|
|
158
|
+
getTextFormat(): Record<string, string>;
|
|
159
|
+
_generateContents(): void;
|
|
160
|
+
cellRendered(): void;
|
|
161
|
+
getElement(containerOnly?: boolean): HTMLElement | null;
|
|
162
|
+
getValue(): any;
|
|
163
|
+
getOldValue(): any;
|
|
164
|
+
setValue(value: any, mutate?: boolean, force?: boolean): void;
|
|
165
|
+
setValueProcessData(value: any, mutate?: boolean, force?: boolean): boolean;
|
|
166
|
+
setValueActual(value: any): void;
|
|
167
|
+
layoutElement(): void;
|
|
168
|
+
setWidth(): void;
|
|
169
|
+
clearWidth(): void;
|
|
170
|
+
getWidth(): number;
|
|
171
|
+
setMinWidth(): void;
|
|
172
|
+
setMaxWidth(): void;
|
|
173
|
+
checkHeight(): void;
|
|
174
|
+
clearHeight(): void;
|
|
175
|
+
setHeight(): void;
|
|
176
|
+
getHeight(): number;
|
|
177
|
+
show(): void;
|
|
178
|
+
hide(): void;
|
|
179
|
+
delete(): void;
|
|
180
|
+
getIndex(): number;
|
|
181
|
+
getComponent(): ICellComponent;
|
|
182
|
+
}
|
|
183
|
+
export interface IColumnComponent {
|
|
184
|
+
_column: IColumn;
|
|
185
|
+
type: string;
|
|
186
|
+
getElement(): HTMLElement;
|
|
187
|
+
getDefinition(): ColumnDefinition;
|
|
188
|
+
getField(): string;
|
|
189
|
+
getTitleDownload(): string | null;
|
|
190
|
+
getCells(): ICellComponent[];
|
|
191
|
+
isVisible(): boolean;
|
|
192
|
+
show(): Promise<void>;
|
|
193
|
+
hide(): void;
|
|
194
|
+
toggle(): void;
|
|
195
|
+
delete(): Promise<void>;
|
|
196
|
+
getSubColumns(): IColumnComponent[];
|
|
197
|
+
getParentColumn(): IColumnComponent | false;
|
|
198
|
+
_getSelf(): IColumn;
|
|
199
|
+
scrollTo(position: ScrollToColumnPosition, ifVisible?: boolean): Promise<void> | undefined;
|
|
200
|
+
getTable(): ITabulator;
|
|
201
|
+
move(to: ColumnLookup, after: boolean): void;
|
|
202
|
+
getNextColumn(): IColumnComponent | false;
|
|
203
|
+
getPrevColumn(): IColumnComponent | false;
|
|
204
|
+
updateDefinition(updates: ColumnDefinition): Promise<IColumnComponent>;
|
|
205
|
+
getWidth(): number;
|
|
206
|
+
setWidth(width: number | true): Promise<void>;
|
|
207
|
+
}
|
|
208
|
+
export interface IColumn extends ICoreFeature {
|
|
209
|
+
definition: ColumnDefinition;
|
|
210
|
+
parent: IColumnManager | IColumn;
|
|
211
|
+
type: 'column';
|
|
212
|
+
columns: IColumn[];
|
|
213
|
+
cells: ICell[];
|
|
214
|
+
isGroup: boolean;
|
|
215
|
+
isRowHeader: boolean;
|
|
216
|
+
element: HTMLElement | false;
|
|
217
|
+
contentElement: HTMLElement | false;
|
|
218
|
+
titleHolderElement: HTMLElement | false;
|
|
219
|
+
titleElement: HTMLElement | false;
|
|
220
|
+
groupElement: HTMLElement | false;
|
|
221
|
+
hozAlign: string;
|
|
222
|
+
vertAlign: string;
|
|
223
|
+
field: string | false;
|
|
224
|
+
fieldStructure: string[];
|
|
225
|
+
getFieldValue: (data: Record<string, any>) => any;
|
|
226
|
+
setFieldValue: (data: Record<string, any>, value: any) => void;
|
|
227
|
+
titleDownload: string | null;
|
|
228
|
+
titleFormatterRendered: (() => void) | false;
|
|
229
|
+
modules: Record<string, any>;
|
|
230
|
+
width: number | null;
|
|
231
|
+
widthStyled: string;
|
|
232
|
+
maxWidth: number | null;
|
|
233
|
+
maxWidthStyled: string;
|
|
234
|
+
maxInitialWidth: number | null;
|
|
235
|
+
minWidth: number | null;
|
|
236
|
+
minWidthStyled: string;
|
|
237
|
+
widthFixed: boolean;
|
|
238
|
+
hidden: boolean;
|
|
239
|
+
component: IColumnComponent | null;
|
|
240
|
+
silent?: boolean;
|
|
241
|
+
createElement(): HTMLElement;
|
|
242
|
+
createGroupElement(): HTMLElement;
|
|
243
|
+
mapDefinitions(): void;
|
|
244
|
+
checkDefinition(): void;
|
|
245
|
+
setField(field: string | undefined): void;
|
|
246
|
+
registerColumnPosition(column: IColumn): void;
|
|
247
|
+
registerColumnField(column: IColumn): void;
|
|
248
|
+
reRegisterPosition(): void;
|
|
249
|
+
_initialize(): Promise<void>;
|
|
250
|
+
_buildColumnHeader(): Promise<void>;
|
|
251
|
+
_buildColumnHeaderContent(): HTMLElement;
|
|
252
|
+
_buildColumnHeaderTitle(): HTMLElement;
|
|
253
|
+
_formatColumnHeaderTitle(el: HTMLElement, title: string): void;
|
|
254
|
+
_buildGroupHeader(): void;
|
|
255
|
+
_getFlatData(data: Record<string, any>): any;
|
|
256
|
+
_getNestedData(data: Record<string, any>): any;
|
|
257
|
+
_setFlatData(data: Record<string, any>, value: any): void;
|
|
258
|
+
_setNestedData(data: Record<string, any>, value: any): void;
|
|
259
|
+
attachColumn(column: IColumn): void;
|
|
260
|
+
verticalAlign(alignment?: string, height?: number): void;
|
|
261
|
+
clearVerticalAlign(): void;
|
|
262
|
+
getElement(): HTMLElement;
|
|
263
|
+
getGroupElement(): HTMLElement;
|
|
264
|
+
getField(): string;
|
|
265
|
+
getTitleDownload(): string | null;
|
|
266
|
+
getFirstColumn(): IColumn | false;
|
|
267
|
+
getLastColumn(): IColumn | false;
|
|
268
|
+
getColumns(traverse?: boolean): IColumn[];
|
|
269
|
+
getCells(): ICell[];
|
|
270
|
+
getTopColumn(): IColumn;
|
|
271
|
+
getDefinition(updateBranches?: boolean): ColumnDefinition;
|
|
272
|
+
checkColumnVisibility(): Promise<void>;
|
|
273
|
+
show(silent?: boolean, responsiveToggle?: boolean): Promise<void>;
|
|
274
|
+
hide(silent?: boolean, responsiveToggle?: boolean): void;
|
|
275
|
+
matchChildWidths(): void;
|
|
276
|
+
removeChild(child: IColumn): void;
|
|
277
|
+
setWidth(width: number | string): void;
|
|
278
|
+
setWidthActual(width: number | string): void;
|
|
279
|
+
checkCellHeights(): void;
|
|
280
|
+
getWidth(): number;
|
|
281
|
+
getLeftOffset(): number;
|
|
282
|
+
getHeight(): number;
|
|
283
|
+
setMinWidth(minWidth: number | undefined): void;
|
|
284
|
+
setMaxWidth(maxWidth: number | undefined): void;
|
|
285
|
+
delete(): Promise<void>;
|
|
286
|
+
columnRendered(): void;
|
|
287
|
+
generateCell(row: IRow): ICell;
|
|
288
|
+
nextColumn(): IColumn | false;
|
|
289
|
+
_nextVisibleColumn(index: number): IColumn | false;
|
|
290
|
+
prevColumn(): IColumn | false;
|
|
291
|
+
_prevVisibleColumn(index: number): IColumn | false;
|
|
292
|
+
reinitializeWidth(force?: boolean): Promise<void>;
|
|
293
|
+
fitToData(force?: boolean): void;
|
|
294
|
+
updateDefinition(updates: Partial<ColumnDefinition>): Promise<IColumnComponent>;
|
|
295
|
+
deleteCell(cell: ICell): void;
|
|
296
|
+
getComponent(): IColumnComponent;
|
|
297
|
+
getPosition(): number;
|
|
298
|
+
getParentComponent(): IColumnComponent | false;
|
|
299
|
+
}
|
|
300
|
+
export interface IRowComponent {
|
|
301
|
+
_row: IRow;
|
|
302
|
+
hoverMenuElement: HTMLElement | null;
|
|
303
|
+
getData(transform?: string): Record<string, any>;
|
|
304
|
+
getElement(): HTMLElement;
|
|
305
|
+
getCells(): ICellComponent[];
|
|
306
|
+
getCell(column: string | IColumnComponent): ICellComponent | false;
|
|
307
|
+
getIndex(): number;
|
|
308
|
+
getPosition(): number | false;
|
|
309
|
+
watchPosition(callback: (position: number) => void): void;
|
|
310
|
+
delete(): Promise<void>;
|
|
311
|
+
scrollTo(position: ScrollToRowPosition, ifVisible: boolean): Promise<unknown> | undefined;
|
|
312
|
+
move(to: IRow, after: boolean): void;
|
|
313
|
+
update(data: Record<string, any>): Promise<void>;
|
|
314
|
+
normalizeHeight(): void;
|
|
315
|
+
_getSelf(): IRow;
|
|
316
|
+
reformat(): void;
|
|
317
|
+
getTable(): ITabulator;
|
|
318
|
+
getNextRow(): IRowComponent | false;
|
|
319
|
+
getPrevRow(): IRowComponent | false;
|
|
320
|
+
toggleSelect?: () => void;
|
|
321
|
+
isSelected?: () => boolean;
|
|
322
|
+
}
|
|
323
|
+
export interface IRow extends ICoreFeature {
|
|
324
|
+
calcHeight(force?: boolean): void;
|
|
325
|
+
calcMaxHeight(): number;
|
|
326
|
+
calcMinHeight(): number;
|
|
327
|
+
cells: ICell[];
|
|
328
|
+
clearCellHeight(): void;
|
|
329
|
+
component: IRowComponent | null;
|
|
330
|
+
create(): void;
|
|
331
|
+
createElement(): void;
|
|
332
|
+
created: boolean;
|
|
333
|
+
data: Record<string, any>;
|
|
334
|
+
deinitialize(): void;
|
|
335
|
+
deinitializeHeight(): void;
|
|
336
|
+
delete(): Promise<void>;
|
|
337
|
+
deleteActual(blockRedraw?: boolean): void;
|
|
338
|
+
deleteCell(cell: ICell): void;
|
|
339
|
+
deleteCells(): void;
|
|
340
|
+
detachElement(): void;
|
|
341
|
+
detachModules(): void;
|
|
342
|
+
element: HTMLElement | false;
|
|
343
|
+
findCell(subject: HTMLElement): ICell | undefined;
|
|
344
|
+
generateCells(): void;
|
|
345
|
+
generateElement(): void;
|
|
346
|
+
getCell(column: string | IColumn | IColumnComponent): ICell | undefined;
|
|
347
|
+
getCellIndex(findCell: ICell): number;
|
|
348
|
+
getCells(): ICell[];
|
|
349
|
+
getComponent(): IRowComponent;
|
|
350
|
+
getData(transform?: string): Record<string, any>;
|
|
351
|
+
getElement(): HTMLElement;
|
|
352
|
+
getGroup(): any | false;
|
|
353
|
+
getHeight(): number;
|
|
354
|
+
getPosition(): number | false;
|
|
355
|
+
getWidth(): number;
|
|
356
|
+
height: number;
|
|
357
|
+
heightInitialized: boolean;
|
|
358
|
+
heightStyled: string;
|
|
359
|
+
initialize(force?: boolean, inFragment?: boolean): void;
|
|
360
|
+
initialized: boolean;
|
|
361
|
+
isDisplayed(): boolean;
|
|
362
|
+
manualHeight: boolean;
|
|
363
|
+
modules: Record<string, any>;
|
|
364
|
+
moveToRow(to: IRow, before?: boolean): void;
|
|
365
|
+
nextRow(): IRow | false;
|
|
366
|
+
normalizeHeight(force?: boolean): void;
|
|
367
|
+
outerHeight: number;
|
|
368
|
+
parent: IRowManager;
|
|
369
|
+
position: number;
|
|
370
|
+
positionWatchers: Array<(position: number) => void>;
|
|
371
|
+
prevRow(): IRow | false;
|
|
372
|
+
reinitialize(): void;
|
|
373
|
+
reinitializeHeight(): void;
|
|
374
|
+
rendered(): void;
|
|
375
|
+
setCellHeight(): void;
|
|
376
|
+
setData(data: Record<string, any>): void;
|
|
377
|
+
setHeight(height: number, force?: boolean): void;
|
|
378
|
+
setPosition(position: number): void;
|
|
379
|
+
type: string;
|
|
380
|
+
updateData(updatedData: Record<string, any> | string): Promise<void>;
|
|
381
|
+
watchPosition(callback: (position: number) => void): void;
|
|
382
|
+
wipe(): void;
|
|
383
|
+
}
|
|
384
|
+
export interface IRenderer extends ICoreFeature {
|
|
385
|
+
elementVertical: HTMLElement | undefined;
|
|
386
|
+
elementHorizontal: HTMLElement | undefined;
|
|
387
|
+
tableElement: HTMLElement | undefined;
|
|
388
|
+
verticalFillMode: 'fit' | 'fill';
|
|
389
|
+
initialize(): void;
|
|
390
|
+
scrollToRowPosition(row: IRow, position?: ScrollToRowPosition, ifVisible?: boolean): Promise<void>;
|
|
391
|
+
clearRows(): void;
|
|
392
|
+
clearColumns(): void;
|
|
393
|
+
reinitializeColumnWidths(columns?: IColumn[]): Promise<void>;
|
|
394
|
+
renderRows(): void;
|
|
395
|
+
renderColumns(): void;
|
|
396
|
+
rerenderRows(callback?: () => void): void;
|
|
397
|
+
rerenderColumns(update?: boolean | null, blockRedraw?: boolean): void;
|
|
398
|
+
renderRowCells(row: IRow, inFragment?: boolean): void;
|
|
399
|
+
rerenderRowCells(row: IRow, force?: boolean): void;
|
|
400
|
+
scrollColumns(left: number, dir?: boolean): void;
|
|
401
|
+
scrollRows(top: number, dir?: boolean): void;
|
|
402
|
+
resize(): void;
|
|
403
|
+
scrollToRow(row: IRow): void;
|
|
404
|
+
scrollToRowNearestTop(row: IRow): boolean;
|
|
405
|
+
visibleRows(includingBuffer?: boolean): IRow[];
|
|
406
|
+
rows(): IRow[];
|
|
407
|
+
styleRow(row: IRow, index: number): void;
|
|
408
|
+
clear(): void;
|
|
409
|
+
}
|
|
410
|
+
export interface IBasicHorizontal extends IRenderer {
|
|
411
|
+
renderRowCells(row: IRow, inFragment?: boolean): void;
|
|
412
|
+
reinitializeColumnWidths(columns: IColumn[]): Promise<void>;
|
|
413
|
+
}
|
|
414
|
+
export interface IBasicVertical extends IRenderer {
|
|
415
|
+
scrollTop: number;
|
|
416
|
+
scrollLeft: number;
|
|
417
|
+
clearRows(): void;
|
|
418
|
+
renderRows(): void;
|
|
419
|
+
rerenderRows(callback?: () => void): void;
|
|
420
|
+
scrollToRow(row: IRow): void;
|
|
421
|
+
visibleRows(): IRow[];
|
|
422
|
+
}
|
|
423
|
+
export interface IVirtualDomHorizontal extends IRenderer {
|
|
424
|
+
leftCol: number;
|
|
425
|
+
rightCol: number;
|
|
426
|
+
scrollLeft: number;
|
|
427
|
+
vDomScrollPosLeft: number;
|
|
428
|
+
vDomScrollPosRight: number;
|
|
429
|
+
vDomPadLeft: number;
|
|
430
|
+
vDomPadRight: number;
|
|
431
|
+
fitDataColAvg: number;
|
|
432
|
+
windowBuffer: number;
|
|
433
|
+
visibleRowsCache: IRow[] | null;
|
|
434
|
+
initialized: boolean;
|
|
435
|
+
isFitData: boolean;
|
|
436
|
+
columns: IColumn[];
|
|
437
|
+
initialize(): void;
|
|
438
|
+
compatibilityCheck(): void;
|
|
439
|
+
layoutCheck(): void;
|
|
440
|
+
vertScrollListen(): void;
|
|
441
|
+
clearVisRowCache(): void;
|
|
442
|
+
renderColumns(): Promise<void>;
|
|
443
|
+
scrollColumns(left: number): void;
|
|
444
|
+
calcWindowBuffer(): void;
|
|
445
|
+
rerenderColumns(update?: boolean, blockRedraw?: boolean): void;
|
|
446
|
+
renderRowCells(row: IRow): void;
|
|
447
|
+
rerenderRowCells(row: IRow, force?: boolean): void;
|
|
448
|
+
reinitializeColumnWidths(): Promise<void>;
|
|
449
|
+
deinitialize(): void;
|
|
450
|
+
clear(): void;
|
|
451
|
+
dataChange(): Promise<void>;
|
|
452
|
+
reinitChanged(old: {
|
|
453
|
+
cols: IColumn[];
|
|
454
|
+
leftCol: number;
|
|
455
|
+
rightCol: number;
|
|
456
|
+
}): boolean;
|
|
457
|
+
reinitializeRows(): void;
|
|
458
|
+
getVisibleRows(): IRow[];
|
|
459
|
+
scroll(diff: number): Promise<void>;
|
|
460
|
+
colPositionAdjust(start: number, end: number, diff: number): void;
|
|
461
|
+
addColRight(): Promise<void>;
|
|
462
|
+
addColLeft(): Promise<void>;
|
|
463
|
+
removeColRight(): void;
|
|
464
|
+
removeColLeft(): void;
|
|
465
|
+
fitDataColActualWidthCheck(columns: IColumn): Promise<number>;
|
|
466
|
+
initializeRow(row: IRow): void;
|
|
467
|
+
appendCell(row: IRow, column: IColumn): void;
|
|
468
|
+
reinitializeRow(row: IRow, force?: boolean): void;
|
|
469
|
+
}
|
|
470
|
+
export interface IVirtualDomVertical extends IRenderer {
|
|
471
|
+
scrollTop: number;
|
|
472
|
+
scrollLeft: number;
|
|
473
|
+
vDomRowHeight: number;
|
|
474
|
+
vDomTop: number;
|
|
475
|
+
vDomBottom: number;
|
|
476
|
+
vDomScrollPosTop: number;
|
|
477
|
+
vDomScrollPosBottom: number;
|
|
478
|
+
vDomTopPad: number;
|
|
479
|
+
vDomBottomPad: number;
|
|
480
|
+
vDomMaxRenderChain: number;
|
|
481
|
+
vDomWindowBuffer: number;
|
|
482
|
+
vDomWindowMinTotalRows: number;
|
|
483
|
+
vDomWindowMinMarginRows: number;
|
|
484
|
+
vDomTopNewRows: IRow[];
|
|
485
|
+
vDomBottomNewRows: IRow[];
|
|
486
|
+
vDomScrollHeight: number;
|
|
487
|
+
}
|
|
488
|
+
export interface IAlert extends ICoreFeature {
|
|
489
|
+
element: HTMLElement;
|
|
490
|
+
msgElement: HTMLElement;
|
|
491
|
+
type: string | null;
|
|
492
|
+
_createAlertElement(): HTMLElement;
|
|
493
|
+
_createMsgElement(): HTMLElement;
|
|
494
|
+
_typeClass(): string;
|
|
495
|
+
alert(content: string | HTMLElement | (() => string | HTMLElement) | undefined, type?: string): void;
|
|
496
|
+
clear(): void;
|
|
497
|
+
}
|
|
498
|
+
export interface IComponentFunctionBinder {
|
|
499
|
+
table: ITabulator;
|
|
500
|
+
bindings: Record<string, Record<string, (...args: any[]) => any>>;
|
|
501
|
+
bind(type: string, funcName: string, handler: (...args: any[]) => any): void;
|
|
502
|
+
handle(type: string, component: any, name: string | symbol): any;
|
|
503
|
+
}
|
|
504
|
+
export interface IDataLoader extends ICoreFeature {
|
|
505
|
+
requestOrder: number;
|
|
506
|
+
loading: boolean;
|
|
507
|
+
load(data: any, params?: any, config?: any, replace?: any, silent?: any, columnsChanged?: any): Promise<void>;
|
|
508
|
+
mapParams(params: Record<string, any>, map: Record<string, string>): Record<string, any>;
|
|
509
|
+
objectInvert(obj: Record<string, string>): Record<string, string>;
|
|
510
|
+
blockActiveLoad(): void;
|
|
511
|
+
alertLoader(): void;
|
|
512
|
+
alertError(): void;
|
|
513
|
+
clearAlert(): void;
|
|
514
|
+
}
|
|
515
|
+
export interface IDependencyRegistry extends ICoreFeature {
|
|
516
|
+
deps: Record<string, any>;
|
|
517
|
+
props: Record<string, Record<string, any>>;
|
|
518
|
+
lookup(key: string | string[], prop?: string, silent?: boolean): any;
|
|
519
|
+
lookupProp(key: string, prop: string, silent?: boolean): any;
|
|
520
|
+
lookupKey(key: string, silent?: boolean): any;
|
|
521
|
+
error(key: string | string[]): void;
|
|
522
|
+
}
|
|
523
|
+
export interface IDeprecationAdvisor extends ICoreFeature {
|
|
524
|
+
_warnUser(...args: any[]): void;
|
|
525
|
+
check(oldOption: string, newOption?: string, convert?: (value: unknown) => unknown): boolean;
|
|
526
|
+
checkMsg(oldOption: string, msg: string): boolean;
|
|
527
|
+
msg(msg: string): void;
|
|
528
|
+
}
|
|
529
|
+
export type EventCallback = (...args: any[]) => any;
|
|
530
|
+
export interface IExternalEventBus {
|
|
531
|
+
table: ITabulator;
|
|
532
|
+
events: Record<string, EventCallback[]>;
|
|
533
|
+
optionsList: IOptionsList | Record<string, any>;
|
|
534
|
+
subscriptionNotifiers: Record<string, Array<(subscribed: boolean) => void>>;
|
|
535
|
+
dispatch: (key: string, ...args: any[]) => any;
|
|
536
|
+
debug: boolean | string[] | undefined;
|
|
537
|
+
subscriptionChange(key: string, callback: (subscribed: boolean) => void): void;
|
|
538
|
+
subscribe(key: string, callback: EventCallback): void;
|
|
539
|
+
unsubscribe(key: string, callback?: EventCallback): void;
|
|
540
|
+
subscribed(key: string): boolean;
|
|
541
|
+
_notifySubscriptionChange(key: string, subscribed: boolean): void;
|
|
542
|
+
_dispatch(key: string, ...args: any[]): any;
|
|
543
|
+
_debugDispatch(key: string, ...args: any[]): any;
|
|
544
|
+
}
|
|
545
|
+
export type PseudoTracker = {
|
|
546
|
+
subscriber: ((key: string, e: Event, target: HTMLElement) => void) | null;
|
|
547
|
+
target: HTMLElement | null;
|
|
548
|
+
};
|
|
549
|
+
export type ListenerConfig = {
|
|
550
|
+
components: string[];
|
|
551
|
+
handler: ((e: Event) => void) | null;
|
|
552
|
+
};
|
|
553
|
+
export type ComponentTarget = {
|
|
554
|
+
component: any;
|
|
555
|
+
target: HTMLElement;
|
|
556
|
+
};
|
|
557
|
+
export interface IInteractionManager extends ICoreFeature {
|
|
558
|
+
el: HTMLElement | null;
|
|
559
|
+
abortClasses: string[];
|
|
560
|
+
previousTargets: Record<string, ComponentTarget>;
|
|
561
|
+
listeners: string[] | Record<string, ListenerConfig>;
|
|
562
|
+
componentMap: Record<string, string>;
|
|
563
|
+
pseudoTrackers: Record<string, PseudoTracker>;
|
|
564
|
+
pseudoTracking: boolean;
|
|
565
|
+
pseudoMouseEnter(key: string, e: Event, target: HTMLElement): void;
|
|
566
|
+
pseudoMouseLeave(key: string, e: Event): void;
|
|
567
|
+
bindSubscriptionWatchers(): void;
|
|
568
|
+
subscriptionChanged(component: string, key: string, added: boolean): void;
|
|
569
|
+
updateEventListeners(): void;
|
|
570
|
+
track(type: string, e: Event): void;
|
|
571
|
+
findTargets(path: EventTarget[]): Record<string, HTMLElement>;
|
|
572
|
+
bindComponents(type: string, targets: Record<string, HTMLElement | false>): Record<string, any>;
|
|
573
|
+
triggerEvents(type: string, e: Event, targets: Record<string, any>): void;
|
|
574
|
+
clearWatchers(): void;
|
|
575
|
+
}
|
|
576
|
+
export type EventSubscriber = {
|
|
577
|
+
callback: (...args: any[]) => any;
|
|
578
|
+
priority: number;
|
|
579
|
+
};
|
|
580
|
+
export type InternalEventBusEventCallback = (subscribed: boolean) => void;
|
|
581
|
+
export interface IInternalEventBus {
|
|
582
|
+
events: Record<string, EventSubscriber[]>;
|
|
583
|
+
subscriptionNotifiers: Record<string, InternalEventBusEventCallback[]>;
|
|
584
|
+
dispatch: (key: string, ...args: any[]) => void;
|
|
585
|
+
chain: (key: string, args: any[] | any, initialValue: any, fallback?: any) => any;
|
|
586
|
+
confirm: (key: string, args: any[] | any) => boolean;
|
|
587
|
+
debug: boolean | string[] | undefined;
|
|
588
|
+
subscriptionChange(key: string, callback: InternalEventBusEventCallback): void;
|
|
589
|
+
subscribe(key: string, callback: InternalEventBusEventCallback, priority?: number): void;
|
|
590
|
+
unsubscribe(key: string, callback?: InternalEventBusEventCallback): void;
|
|
591
|
+
subscribed(key: string): boolean;
|
|
592
|
+
_chain(key: string, args: any[] | any, initialValue: any, fallback?: any): any;
|
|
593
|
+
_confirm(key: string, args: any[] | any): boolean;
|
|
594
|
+
_notifySubscriptionChange(key: string, subscribed: boolean): void;
|
|
595
|
+
_dispatch(key: string, ...args: any[]): void;
|
|
596
|
+
_debugDispatch(key: string, ...args: any[]): any;
|
|
597
|
+
_debugChain(key: string, args: any[] | any, initialValue: any, fallback?: any): any;
|
|
598
|
+
_debugConfirm(key: string, args: any[] | any): boolean;
|
|
599
|
+
}
|
|
600
|
+
export interface IModuleBinder {
|
|
601
|
+
modules: Record<string, any>;
|
|
602
|
+
modulesCore: any[];
|
|
603
|
+
modulesRegular: any[];
|
|
604
|
+
_bindModules(): void;
|
|
605
|
+
}
|
|
606
|
+
export interface IOptionsList {
|
|
607
|
+
table: ITabulator;
|
|
608
|
+
msgType: string;
|
|
609
|
+
registeredDefaults: Record<string, any>;
|
|
610
|
+
register(option: string, value: any): void;
|
|
611
|
+
generate(defaultOptions: Record<string, any>, userOptions: Record<string, any>): Record<string, any>;
|
|
612
|
+
}
|
|
613
|
+
export interface IPopup {
|
|
614
|
+
element: HTMLElement;
|
|
615
|
+
container: HTMLElement;
|
|
616
|
+
parent: IPopup | null;
|
|
617
|
+
reversedX: boolean;
|
|
618
|
+
childPopup: IPopup | null;
|
|
619
|
+
blurable: boolean;
|
|
620
|
+
blurCallback: (() => void) | null;
|
|
621
|
+
blurEventsBound: boolean;
|
|
622
|
+
renderedCallback: (() => void) | null;
|
|
623
|
+
visible: boolean;
|
|
624
|
+
hideable: boolean;
|
|
625
|
+
blurEvent: () => void;
|
|
626
|
+
escEvent: (e: KeyboardEvent) => void;
|
|
627
|
+
destroyBinding: () => void;
|
|
628
|
+
destroyed: boolean;
|
|
629
|
+
tableDestroyed(): void;
|
|
630
|
+
_lookupContainer(): HTMLElement;
|
|
631
|
+
_checkContainerIsParent(container: HTMLElement, element: HTMLElement | ParentNode): boolean;
|
|
632
|
+
renderCallback(callback: () => void): void;
|
|
633
|
+
containerEventCoords(e: MouseEvent | TouchEvent): {
|
|
634
|
+
x: number;
|
|
635
|
+
y: number;
|
|
636
|
+
};
|
|
637
|
+
elementPositionCoords(element: HTMLElement, position: 'right' | 'bottom' | 'left' | 'top' | 'center'): {
|
|
638
|
+
offset: {
|
|
639
|
+
left: number;
|
|
640
|
+
top: number;
|
|
641
|
+
};
|
|
642
|
+
x: number;
|
|
643
|
+
y: number;
|
|
644
|
+
};
|
|
645
|
+
show(origin: HTMLElement | MouseEvent | TouchEvent | number, position?: 'right' | 'bottom' | 'left' | 'top' | 'center' | number): this;
|
|
646
|
+
_fitToScreen(x: number, y: number, parentEl: HTMLElement | undefined, parentOffset: {
|
|
647
|
+
left: number;
|
|
648
|
+
top: number;
|
|
649
|
+
} | undefined, position: 'right' | 'bottom' | 'left' | 'top' | 'center' | undefined): void;
|
|
650
|
+
isVisible(): boolean;
|
|
651
|
+
hideOnBlur(callback: () => void): this;
|
|
652
|
+
_escapeCheck(e: KeyboardEvent): void;
|
|
653
|
+
blockHide(): void;
|
|
654
|
+
restoreHide(): void;
|
|
655
|
+
hide(silent?: boolean): this;
|
|
656
|
+
child(element: HTMLElement): IPopup;
|
|
657
|
+
}
|
|
658
|
+
export interface ICoreFeature {
|
|
659
|
+
table: ITabulator;
|
|
660
|
+
reloadData(data: unknown[] | null, silent?: boolean, columnsChanged?: boolean): Promise<void>;
|
|
661
|
+
langText(...args: any[]): any;
|
|
662
|
+
langBind(...args: any[]): any;
|
|
663
|
+
langLocale(...args: any[]): any;
|
|
664
|
+
commsConnections(...args: any[]): any;
|
|
665
|
+
commsSend(...args: any[]): any;
|
|
666
|
+
layoutMode(): any;
|
|
667
|
+
layoutRefresh(force: boolean): any;
|
|
668
|
+
subscribe(...args: any[]): any;
|
|
669
|
+
unsubscribe(...args: any[]): any;
|
|
670
|
+
subscribed(key: string): any;
|
|
671
|
+
subscriptionChange(...args: any[]): any;
|
|
672
|
+
dispatch(...args: any[]): any;
|
|
673
|
+
chain(...args: any[]): any;
|
|
674
|
+
confirm(...args: any[]): any;
|
|
675
|
+
dispatchExternal(...args: any[]): any;
|
|
676
|
+
subscribedExternal(key: string): any;
|
|
677
|
+
subscriptionChangeExternal(...args: any[]): any;
|
|
678
|
+
options(key: keyof Options): any;
|
|
679
|
+
setOption(key: keyof Options, value: unknown): any;
|
|
680
|
+
deprecationCheck(oldOption: keyof Options, newOption: keyof Options, convert: (value: unknown) => unknown): any;
|
|
681
|
+
deprecationCheckMsg(oldOption: keyof Options, msg: string): any;
|
|
682
|
+
deprecationMsg(msg: string): any;
|
|
683
|
+
module(key: string): any;
|
|
684
|
+
}
|
|
685
|
+
export interface IRowManager extends ICoreFeature {
|
|
686
|
+
element: HTMLElement;
|
|
687
|
+
tableElement: HTMLElement;
|
|
688
|
+
heightFixer: HTMLElement;
|
|
689
|
+
placeholder: HTMLElement | null;
|
|
690
|
+
placeholderContents: HTMLElement | null;
|
|
691
|
+
firstRender: boolean;
|
|
692
|
+
renderMode?: RenderMode;
|
|
693
|
+
fixedHeight: boolean;
|
|
694
|
+
rows: IRow[];
|
|
695
|
+
activeRowsPipeline: IRow[][];
|
|
696
|
+
activeRows: IRow[];
|
|
697
|
+
activeRowsCount: number;
|
|
698
|
+
displayRows: IRow[][];
|
|
699
|
+
displayRowsCount: number;
|
|
700
|
+
scrollTop: number;
|
|
701
|
+
scrollLeft: number;
|
|
702
|
+
redrawBlock: boolean;
|
|
703
|
+
redrawBlockRestoreConfig: any;
|
|
704
|
+
redrawBlockRenderInPosition: boolean;
|
|
705
|
+
dataPipeline: any[];
|
|
706
|
+
displayPipeline: any[];
|
|
707
|
+
scrollbarWidth: number;
|
|
708
|
+
renderer: IRenderer | null;
|
|
709
|
+
redrawing?: boolean;
|
|
710
|
+
rowIndexMap: Map<any, IRow>;
|
|
711
|
+
createHolderElement(): HTMLElement;
|
|
712
|
+
createTableElement(): HTMLElement;
|
|
713
|
+
initializePlaceholder(): void;
|
|
714
|
+
getElement(): HTMLElement;
|
|
715
|
+
getTableElement(): HTMLElement;
|
|
716
|
+
initialize(): void;
|
|
717
|
+
findRow(subject: IRow | IRowComponent | HTMLElement | null | undefined): IRow | false;
|
|
718
|
+
getRowFromDataObject(data: any): IRow | false;
|
|
719
|
+
getRowFromPosition(position: number): IRow | undefined;
|
|
720
|
+
registerRowInMap(row: IRow): void;
|
|
721
|
+
unregisterRowFromMap(row: IRow): void;
|
|
722
|
+
scrollToRow(row: IRow, position?: ScrollToRowPosition, ifVisible?: boolean): Promise<unknown> | undefined;
|
|
723
|
+
setData(data: any[], renderInPosition?: boolean, columnsChanged?: boolean): Promise<void>;
|
|
724
|
+
_setDataActual(data: any[], renderInPosition?: boolean): void;
|
|
725
|
+
_wipeElements(): void;
|
|
726
|
+
destroy(): void;
|
|
727
|
+
deleteRow(row: IRow, blockRedraw?: boolean): void;
|
|
728
|
+
addRow(data: any | IRow, isTop?: boolean, index?: any, blockRedraw?: boolean): IRow;
|
|
729
|
+
addRows(data: any[], pos?: AddRowPos, index?: any, refreshDisplayOnly?: boolean): Promise<Array<IRowComponent | IRow>>;
|
|
730
|
+
findAddRowPos(pos?: AddRowPos): boolean;
|
|
731
|
+
addRowActual(data: any | IRow, pos: boolean, index?: any, blockRedraw?: boolean): IRow;
|
|
732
|
+
moveRow(from: IRow, to: IRow, after?: boolean): void;
|
|
733
|
+
moveRowActual(from: IRow, to: IRow, after?: boolean): void;
|
|
734
|
+
moveRowInArray(rows: IRow[], from: IRow, to: IRow, after?: boolean): void;
|
|
735
|
+
clearData(): void;
|
|
736
|
+
getRowIndex(row: IRow): number | false;
|
|
737
|
+
getDisplayRowIndex(row: IRow): number | false;
|
|
738
|
+
nextDisplayRow(row: IRow, rowOnly?: boolean): IRow | false;
|
|
739
|
+
prevDisplayRow(row: IRow, rowOnly?: boolean): IRow | false;
|
|
740
|
+
findRowIndex(row: IRow, list: IRow[]): number | false;
|
|
741
|
+
getData(active?: RowRangeLookup, transform?: string): any[];
|
|
742
|
+
getComponents(active?: RowRangeLookup): IRowComponent[];
|
|
743
|
+
getDataCount(active?: RowRangeLookup): number;
|
|
744
|
+
scrollHorizontal(left: number): void;
|
|
745
|
+
registerDataPipelineHandler(handler: (rows: IRow[]) => IRow[], priority: number): void;
|
|
746
|
+
registerDisplayPipelineHandler(handler: (rows: IRow[], renderInPosition?: boolean) => IRow[], priority: number): void;
|
|
747
|
+
refreshActiveData(handler?: ((rows: IRow[]) => IRow[]) | string | false, silent?: boolean, renderInPosition?: boolean): void;
|
|
748
|
+
getDisplayRows(index?: number): IRow[];
|
|
749
|
+
scrollToRow(row: IRow, position?: ScrollToRowPosition, ifVisible?: boolean): Promise<unknown> | undefined;
|
|
750
|
+
adjustTableSize(): void;
|
|
751
|
+
getData(transform?: string): any[];
|
|
752
|
+
getDataCount(activeOnly?: RowRangeLookup): number;
|
|
753
|
+
scrollHorizontal(left: number): void;
|
|
754
|
+
registerDataPipelineHandler(handler: (rows: IRow[]) => IRow[], priority: number): void;
|
|
755
|
+
registerDisplayPipelineHandler(handler: (rows: IRow[], renderInPosition?: boolean) => IRow[], priority: number): void;
|
|
756
|
+
refreshActiveData(handler?: ((rows: IRow[]) => IRow[]) | string | false, skipStage?: boolean, renderInPosition?: boolean): void;
|
|
757
|
+
refreshPipelines(handler: any, stage: string, index: number, renderInPosition?: boolean): void;
|
|
758
|
+
regenerateRowPositions(): void;
|
|
759
|
+
setActiveRows(activeRows: IRow[]): void;
|
|
760
|
+
resetDisplayRows(): void;
|
|
761
|
+
setDisplayRows(displayRows: IRow[], index: number): void;
|
|
762
|
+
getVisibleRows(chain: boolean, viewable?: boolean): IRow[];
|
|
763
|
+
displayRowIterator(callback: (rows: IRow[]) => void): void;
|
|
764
|
+
getRows(type?: RowRangeLookup): IRow[];
|
|
765
|
+
reRenderInPosition(callback?: () => void): void;
|
|
766
|
+
scrollBarCheck(): void;
|
|
767
|
+
initializeRenderer(): void;
|
|
768
|
+
getRenderMode(): RenderMode | undefined;
|
|
769
|
+
renderTable(): void;
|
|
770
|
+
renderEmptyScroll(): void;
|
|
771
|
+
_clearTable(): void;
|
|
772
|
+
tableEmpty(): void;
|
|
773
|
+
checkPlaceholder(): void;
|
|
774
|
+
_showPlaceholder(): void;
|
|
775
|
+
_clearPlaceholder(): void;
|
|
776
|
+
_positionPlaceholder(): void;
|
|
777
|
+
styleRow(row: IRow, index: number): void;
|
|
778
|
+
normalizeHeight(force?: boolean): void;
|
|
779
|
+
adjustTableSize(): boolean;
|
|
780
|
+
reinitialize(): void;
|
|
781
|
+
blockRedraw(): void;
|
|
782
|
+
restoreRedraw(): void;
|
|
783
|
+
redraw(force?: boolean): void;
|
|
784
|
+
resetScroll(): void;
|
|
785
|
+
}
|
|
786
|
+
export interface IColumnManager extends ICoreFeature {
|
|
787
|
+
blockHozScrollEvent: boolean;
|
|
788
|
+
headersElement: HTMLElement | null;
|
|
789
|
+
contentsElement: HTMLElement | null;
|
|
790
|
+
rowHeader: IColumn | null;
|
|
791
|
+
element: HTMLElement | undefined;
|
|
792
|
+
columns: IColumn[];
|
|
793
|
+
columnsByIndex: IColumn[];
|
|
794
|
+
columnsByField: Record<string, IColumn>;
|
|
795
|
+
scrollLeft: number;
|
|
796
|
+
optionsList: any;
|
|
797
|
+
redrawBlock: boolean;
|
|
798
|
+
redrawBlockUpdate: boolean | null;
|
|
799
|
+
renderer: IRenderer | null;
|
|
800
|
+
tableElement: HTMLElement | undefined;
|
|
801
|
+
initialize(): void;
|
|
802
|
+
updateLastCellClass(): void;
|
|
803
|
+
padVerticalScrollbar(width: number): void;
|
|
804
|
+
initializeRenderer(): void;
|
|
805
|
+
createHeadersElement(): HTMLElement;
|
|
806
|
+
createHeaderContentsElement(): HTMLElement;
|
|
807
|
+
createHeaderElement(): HTMLElement;
|
|
808
|
+
getElement(): HTMLElement | undefined;
|
|
809
|
+
getContentsElement(): HTMLElement | null;
|
|
810
|
+
getHeadersElement(): HTMLElement | null;
|
|
811
|
+
scrollHorizontal(left: number): void;
|
|
812
|
+
initializeScrollWheelWatcher(): void;
|
|
813
|
+
generateColumnsFromRowData(data: Array<Record<string, any>>): void;
|
|
814
|
+
calculateSorterFromValue(value: any): 'string' | 'number' | 'boolean' | 'time' | 'alphanum' | 'exists' | 'date' | 'datetime' | 'array';
|
|
815
|
+
setColumns(cols: ColumnDefinition[]): void;
|
|
816
|
+
_addColumn(definition: ColumnDefinition, before?: boolean, nextToColumn?: IColumn | IColumnComponent | false): IColumn;
|
|
817
|
+
registerColumnField(col: IColumn): void;
|
|
818
|
+
registerColumnPosition(col: IColumn): void;
|
|
819
|
+
_reIndexColumns(): void;
|
|
820
|
+
verticalAlignHeaders(): void;
|
|
821
|
+
findColumn(subject: ColumnLookup): IColumn | false;
|
|
822
|
+
getColumnByField(field: string): IColumn | undefined;
|
|
823
|
+
getColumnsByFieldRoot(root: string): IColumn[];
|
|
824
|
+
getColumnByIndex(index: number): IColumn | undefined;
|
|
825
|
+
getFirstVisibleColumn(): IColumn | false;
|
|
826
|
+
getVisibleColumnsByIndex(): IColumn[];
|
|
827
|
+
getColumns(): IColumn[];
|
|
828
|
+
findColumnIndex(column: IColumn | false): number | false;
|
|
829
|
+
getRealColumns(): IColumn[];
|
|
830
|
+
traverse(callback: (column: IColumn, index: number) => void): void;
|
|
831
|
+
getDefinitions(active?: boolean): ColumnDefinition[];
|
|
832
|
+
getDefinitionTree(): ColumnDefinition[];
|
|
833
|
+
getComponents(structured?: boolean): IColumnComponent[];
|
|
834
|
+
getWidth(): number;
|
|
835
|
+
moveColumn(from: IColumn, to: IColumn, after?: boolean): void;
|
|
836
|
+
moveColumnActual(from: IColumn, to: IColumn, after?: boolean): void;
|
|
837
|
+
_moveColumnInArray(columns: IColumn[], from: IColumn, to: IColumn, after?: boolean, updateRows?: boolean): void;
|
|
838
|
+
scrollToColumn(column: IColumn, position?: ScrollToColumnPosition, ifVisible?: boolean): Promise<void>;
|
|
839
|
+
generateCells(row: IRow): ICell[];
|
|
840
|
+
getFlexBaseWidth(): number;
|
|
841
|
+
addColumn(definition: ColumnDefinition, before?: boolean, nextToColumn?: IColumn | false): Promise<IColumn>;
|
|
842
|
+
deregisterColumn(column: IColumn): void;
|
|
843
|
+
rerenderColumns(update?: boolean | null, blockRedraw?: boolean): void;
|
|
844
|
+
blockRedraw(): void;
|
|
845
|
+
restoreRedraw(): void;
|
|
846
|
+
redraw(force?: boolean): void;
|
|
847
|
+
}
|
|
848
|
+
export interface IFooterManager extends ICoreFeature {
|
|
849
|
+
active: boolean;
|
|
850
|
+
element: HTMLElement;
|
|
851
|
+
containerElement: HTMLElement;
|
|
852
|
+
external: boolean;
|
|
853
|
+
initialize(): void;
|
|
854
|
+
createElement(): HTMLElement;
|
|
855
|
+
createContainerElement(): HTMLElement;
|
|
856
|
+
initializeElement(): void;
|
|
857
|
+
getElement(): HTMLElement;
|
|
858
|
+
append(element: Node): void;
|
|
859
|
+
prepend(element: Node): void;
|
|
860
|
+
remove(element: Node): void;
|
|
861
|
+
deactivate(): void;
|
|
862
|
+
activate(): void;
|
|
863
|
+
redraw(): void;
|
|
864
|
+
}
|
|
865
|
+
export interface IModule extends ICoreFeature {
|
|
866
|
+
moduleCore?: boolean;
|
|
867
|
+
_handler: ((rows: IRow[]) => IRow[]) | string;
|
|
868
|
+
initialize(): void;
|
|
869
|
+
registerTableOption(key: string, value?: unknown): void;
|
|
870
|
+
registerColumnOption(key: string, value?: unknown): void;
|
|
871
|
+
registerTableFunction<TName extends string, TFunc extends (...args: any[]) => any>(name: TName, func: TFunc): void;
|
|
872
|
+
registerComponentFunction(component: string, func: string, handler: any): any;
|
|
873
|
+
registerDataHandler(handler: (rows: IRow[]) => IRow[], priority: number): void;
|
|
874
|
+
registerDisplayHandler(handler: (rows: IRow[], renderInPosition?: boolean) => IRow[], priority: number): void;
|
|
875
|
+
displayRows(adjust?: number): IRow[] | undefined;
|
|
876
|
+
activeRows(): IRow[];
|
|
877
|
+
refreshData(renderInPosition?: boolean, handler?: ((rows: IRow[]) => IRow[]) | string): void;
|
|
878
|
+
footerAppend(element: HTMLElement): HTMLElement;
|
|
879
|
+
footerPrepend(element: HTMLElement): HTMLElement;
|
|
880
|
+
footerRemove(element: HTMLElement): HTMLElement;
|
|
881
|
+
popup(menuEl: HTMLElement, menuContainer?: any): any;
|
|
882
|
+
alert(content: any, type?: string): void;
|
|
883
|
+
clearAlert(): void;
|
|
884
|
+
}
|
|
885
|
+
export interface ITabulatorFull extends ITabulator {
|
|
886
|
+
setSheetData: (lookup: string | SpreadsheetComponent, data: unknown[][]) => void;
|
|
887
|
+
setGroupBy: (groups: GroupArg) => void;
|
|
888
|
+
setGroupHeader: (values: Options['groupHeader']) => void;
|
|
889
|
+
setGroupStartOpen: (values: Options['groupStartOpen']) => void;
|
|
890
|
+
setGroupValues: (data: GroupValuesArg) => void;
|
|
891
|
+
setPageSize: (size: number | true) => void;
|
|
892
|
+
setPage: (page: number | 'first' | 'prev' | 'next' | 'last') => Promise<void>;
|
|
893
|
+
getSheetData: (key?: SheetLookup) => unknown[][];
|
|
894
|
+
getPage: () => IPage;
|
|
895
|
+
setFilter: IFilter['setFilter'];
|
|
896
|
+
clearFilter: IFilter['clearFilter'];
|
|
897
|
+
setSort: (sortList: string | Sorter[], dir?: SortDirection) => void;
|
|
898
|
+
}
|
|
899
|
+
/**
|
|
900
|
+
* Table type
|
|
901
|
+
*/
|
|
902
|
+
export type RowAction = {
|
|
903
|
+
icon: string;
|
|
904
|
+
name: string;
|
|
905
|
+
options?: {
|
|
906
|
+
buttonProps?: {
|
|
907
|
+
outline?: boolean;
|
|
908
|
+
variant?: ButtonVariant;
|
|
909
|
+
};
|
|
910
|
+
dropdownItems: DropdownItem[];
|
|
911
|
+
dropdownSections: DropdownSection;
|
|
912
|
+
};
|
|
913
|
+
tooltip?: string;
|
|
914
|
+
type?: RowActionType;
|
|
915
|
+
};
|
|
916
|
+
export declare enum HoverMenuPlacement {
|
|
917
|
+
Left = "left",
|
|
918
|
+
Right = "right"
|
|
919
|
+
}
|
|
920
|
+
export type HoverMenuOptions = {
|
|
921
|
+
data: RowAction[];
|
|
922
|
+
options: {
|
|
923
|
+
placement: HoverMenuPlacement;
|
|
924
|
+
};
|
|
925
|
+
};
|
|
926
|
+
export interface ISheetComponent {
|
|
927
|
+
active(): unknown;
|
|
928
|
+
clear(): unknown;
|
|
929
|
+
getData(): unknown[][];
|
|
930
|
+
getDefinition(): unknown;
|
|
931
|
+
getKey(): string;
|
|
932
|
+
getTitle(): string;
|
|
933
|
+
remove(): unknown;
|
|
934
|
+
setColumns(columns: number): unknown;
|
|
935
|
+
setData(data: unknown[][]): unknown;
|
|
936
|
+
setRows(rows: number): unknown;
|
|
937
|
+
setTitle(title: string): unknown;
|
|
938
|
+
}
|
|
939
|
+
export interface IGroupComponent {
|
|
940
|
+
getElement(): HTMLElement | false;
|
|
941
|
+
getField(): string | false;
|
|
942
|
+
getKey(): unknown;
|
|
943
|
+
getParentGroup(): IGroupComponent | false;
|
|
944
|
+
getRows(): IRowComponent[];
|
|
945
|
+
getSubGroups(): IGroupComponent[];
|
|
946
|
+
getTable(): unknown;
|
|
947
|
+
hide(): void;
|
|
948
|
+
isVisible(): boolean;
|
|
949
|
+
scrollTo(position?: ScrollToRowPosition, ifVisible?: boolean): Promise<unknown> | undefined;
|
|
950
|
+
show(): void;
|
|
951
|
+
toggle(): void;
|
|
952
|
+
type: string;
|
|
953
|
+
}
|
|
954
|
+
export interface ICalcComponent {
|
|
955
|
+
getCell(column: IColumnComponent): ICellComponent | false;
|
|
956
|
+
getCells(): ICellComponent[];
|
|
957
|
+
getData(transform?: string): Record<string, unknown>;
|
|
958
|
+
getElement(): HTMLElement | false;
|
|
959
|
+
getTable(): unknown;
|
|
960
|
+
}
|
|
961
|
+
export interface IRangeComponent {
|
|
962
|
+
clearValues(): void;
|
|
963
|
+
getBottomEdge(): number;
|
|
964
|
+
getBounds(): {
|
|
965
|
+
end: ICellComponent;
|
|
966
|
+
start: ICellComponent;
|
|
967
|
+
};
|
|
968
|
+
getCells(): ICellComponent[];
|
|
969
|
+
getColumns(): IColumnComponent[];
|
|
970
|
+
getData(): unknown;
|
|
971
|
+
getElement(): HTMLElement | null;
|
|
972
|
+
getLeftEdge(): number;
|
|
973
|
+
getRightEdge(): number;
|
|
974
|
+
getRows(): IRowComponent[];
|
|
975
|
+
getStructuredCells(): ICellComponent[][];
|
|
976
|
+
getTopEdge(): number;
|
|
977
|
+
remove(): void;
|
|
978
|
+
setBounds(start: ICellComponent | unknown, end: ICellComponent | unknown): void;
|
|
979
|
+
setEndBound(end: ICellComponent | unknown): void;
|
|
980
|
+
setStartBound(start: ICellComponent | unknown): void;
|
|
981
|
+
}
|
|
982
|
+
export interface Options extends OptionsGeneral, OptionsMenu, OptionsHistory, OptionsLocale, OptionsDownload, OptionsColumns, OptionsRows, OptionsData, OptionsSorting, OptionsFiltering, OptionsRowGrouping, OptionsPagination, OptionsPersistentConfiguration, OptionsClipboard, OptionsDataTree, OptionsDebug, OptionsHTML, OptionsSpreadsheet, OptionsHoverMenu, OptionsAccessibility {
|
|
983
|
+
toolbarElement?: HTMLElement;
|
|
984
|
+
}
|
|
985
|
+
export interface OptionsAccessibility {
|
|
986
|
+
tabulatorRole?: string;
|
|
987
|
+
columnGroupRole?: string;
|
|
988
|
+
columnHeaderRole?: string;
|
|
989
|
+
rowRole?: string;
|
|
990
|
+
rowGroupRole?: string;
|
|
991
|
+
cellRole?: string;
|
|
992
|
+
}
|
|
993
|
+
export interface OptionsHoverMenu {
|
|
994
|
+
hoverMenu?: HoverMenuOptions;
|
|
995
|
+
hoverMenuPlacement?: 'top' | 'bottom' | 'left' | 'right';
|
|
996
|
+
hoverMenuField?: string;
|
|
997
|
+
}
|
|
998
|
+
export interface OptionsSorting {
|
|
999
|
+
/** Array of sorters to be applied on load. */
|
|
1000
|
+
initialSort?: Sorter[];
|
|
1001
|
+
/** reverse the order that multiple sorters are applied to the table. */
|
|
1002
|
+
sortOrderReverse?: boolean;
|
|
1003
|
+
headerSortClickElement?: 'header' | 'icon';
|
|
1004
|
+
}
|
|
1005
|
+
export interface OptionsDebug {
|
|
1006
|
+
invalidOptionWarning?: boolean;
|
|
1007
|
+
/** Enabled by default this will provide a console warning if you are trying to set an option on the table that does not exist. With the new optional modular structure this is particularly valuable as it will prompt you if you are trying to use an option for a module that has not been installed */
|
|
1008
|
+
debugInvalidOptions?: boolean;
|
|
1009
|
+
/** Enabled by default this will provide a console warning if you try and call a function on the table before it has been initialized. */
|
|
1010
|
+
debugInitialization?: boolean;
|
|
1011
|
+
/** The debugEventsExternal option will create a console log for every external event that is fired so you can gain an understanding of which events you should be binding to. */
|
|
1012
|
+
debugEventsExternal?: boolean;
|
|
1013
|
+
/** The debugEventsInternal option will create a console log for every internal event that is fired so you can gain an understanding of which events you should be subscribing to in your modules. */
|
|
1014
|
+
debugEventsInternal?: boolean;
|
|
1015
|
+
/** Disable component function warnings */
|
|
1016
|
+
debugInvalidComponentFuncs?: boolean;
|
|
1017
|
+
/** Disable deprecation warnings */
|
|
1018
|
+
debugDeprecation?: boolean;
|
|
1019
|
+
}
|
|
1020
|
+
export type DataTreeConfig = {
|
|
1021
|
+
branchEl: HTMLElement | false;
|
|
1022
|
+
children: any[] | boolean;
|
|
1023
|
+
controlEl: HTMLElement | false;
|
|
1024
|
+
index: number;
|
|
1025
|
+
open: boolean;
|
|
1026
|
+
parent: any | false;
|
|
1027
|
+
};
|
|
1028
|
+
export interface OptionsDataTree {
|
|
1029
|
+
/** To enable data trees in your table, set the dataTree property to true in your table constructor: */
|
|
1030
|
+
dataTree?: boolean;
|
|
1031
|
+
/** By default the toggle element will be inserted into the first column on the table. If you want the toggle element to be inserted in a different column you can pass the field name of the column to the dataTreeElementColumn setup option. */
|
|
1032
|
+
dataTreeElementColumn?: boolean | string;
|
|
1033
|
+
/** Show tree branch icon. */
|
|
1034
|
+
dataTreeBranchElement?: boolean | string;
|
|
1035
|
+
/** Tree level indent in pixels */
|
|
1036
|
+
dataTreeChildIndent?: number;
|
|
1037
|
+
/** By default Tabulator will look for child rows in the _children field of a row data object. You can change this to look in a different field using the dataTreeChildField property in your table constructor: */
|
|
1038
|
+
dataTreeChildField?: string;
|
|
1039
|
+
/** By default Tabulator will look for loading rows in the loading field of a row data object. You can change this to look in a different field using the dataTreeLoadingField property in your table constructor: */
|
|
1040
|
+
dataTreeLoadingField?: string;
|
|
1041
|
+
/** By default Tabulator will look for has more rows in the hasMore field of a row data object. You can change this to look in a different field using the dataTreeHasMoreField property in your table constructor: */
|
|
1042
|
+
dataTreeHasMoreField?: string;
|
|
1043
|
+
/**
|
|
1044
|
+
* The toggle button that allows users to collapse and expand the column can be customized to meet your needs. There are two options, dataTreeExpandElement and dataTreeCollapseElement, that can be set to replace the default toggle elements with your own.
|
|
1045
|
+
*
|
|
1046
|
+
* Both options can take either an html string representing the contents of the toggle element
|
|
1047
|
+
*/
|
|
1048
|
+
dataTreeCollapseElement?: string | HTMLElement;
|
|
1049
|
+
/** The toggle button that allows users to expand the column. */
|
|
1050
|
+
dataTreeExpandElement?: string | HTMLElement;
|
|
1051
|
+
/**
|
|
1052
|
+
* By default all nodes on the tree will start collapsed, you can customize the initial expansion state of the tree using the dataTreeStartExpanded option.*
|
|
1053
|
+
* This option can take one of three possible value types, either a boolean to indicate whether all nodes should start expanded or collapsed:
|
|
1054
|
+
*/
|
|
1055
|
+
dataTreeStartExpanded?: boolean | boolean[] | ((row: IRowComponent, level: number) => boolean);
|
|
1056
|
+
/** Propagate selection events from parent rows to children. */
|
|
1057
|
+
dataTreeSelectPropagate?: boolean;
|
|
1058
|
+
dataTreeFilter?: boolean;
|
|
1059
|
+
dataTreeSort?: boolean;
|
|
1060
|
+
/**
|
|
1061
|
+
* When you are using the dataTree option with your table, the column calculations will by default only use the data for the top level rows and will ignore any children.
|
|
1062
|
+
* To include child rows in the column calculations set the dataTreeChildColumnCalcs option to true in the table constructor.
|
|
1063
|
+
*/
|
|
1064
|
+
dataTreeChildColumnCalcs?: boolean;
|
|
1065
|
+
}
|
|
1066
|
+
/** Context for paste parser/action - avoids conflict with DOM Clipboard API. */
|
|
1067
|
+
export interface IClipboardModuleContext {
|
|
1068
|
+
table: any;
|
|
1069
|
+
}
|
|
1070
|
+
export type PasteParser = (this: IClipboardModuleContext, clipboard: string) => Array<Record<string, any>> | false;
|
|
1071
|
+
export type ClipboardCopyConfig = AdditionalExportOptions | undefined;
|
|
1072
|
+
export interface OptionsClipboard {
|
|
1073
|
+
/**
|
|
1074
|
+
* You can enable clipboard functionality using the clipboard config option. It can take one of four possible values:
|
|
1075
|
+
* true - enable clipboard copy and paste
|
|
1076
|
+
* "copy" - enable only copy functionality
|
|
1077
|
+
* "paste" - enable only paste functionality
|
|
1078
|
+
* false - disable all clipboard functionality (default)
|
|
1079
|
+
*/
|
|
1080
|
+
clipboard?: boolean | 'copy' | 'paste';
|
|
1081
|
+
/** The clipboardCopyRowRange option takes a Row Range Lookup value and allows you to choose which rows are included in the clipboard output: */
|
|
1082
|
+
clipboardCopyRowRange?: RowRangeLookup;
|
|
1083
|
+
/** You can alter the finished output to the clipboard using the clipboardCopyFormatter callback. The callback function receives two arguments, the first is a string representing the type of content to be formatted (either "plain" or "html" depending on the type of data entering the clipboard). The second argument is the string that is about to be inserted into the clipboard. The function and should return a string that will be inserted into the clipboard. */
|
|
1084
|
+
clipboardCopyFormatter?: 'table' | ((type: 'plain' | 'html', output: string) => string);
|
|
1085
|
+
/** By default Tabulator will include the column header titles in any clipboard data, this can be turned off by passing a value of false to the clipboardCopyHeader property: */
|
|
1086
|
+
clipboardCopyHeader?: boolean;
|
|
1087
|
+
/**
|
|
1088
|
+
* Tabulator has one built in paste parser, that is designed to take a table formatted text string from the clipboard and turn it into row data. it breaks the data into rows on a newline character \n and breaks the rows down to columns on a tab character \t.
|
|
1089
|
+
* It will then attempt to work out which columns in the data correspond to columns in the table. It tries three different ways to achieve this. First it checks the values of all columns in the first row of data to see if they match the titles of columns in the table. If any of the columns don't match it then tries the same approach but with the column fields. If either of those options match, Tabulator will map those columns to the incoming data and import it into rows. If there is no match then Tabulator will assume the columns in the data are in the same order as the visible columns in the table and import them that way.
|
|
1090
|
+
*
|
|
1091
|
+
* The inbuilt parser will reject any clipboard data that does not contain at least one row and two columns, in that case the clipboardPasteError will be triggered.
|
|
1092
|
+
*
|
|
1093
|
+
* If you extend the clipboard module to add your own parser, you can set it to be used as default with the clipboardPasteParser property.
|
|
1094
|
+
* Built-in parsers are "table" and "range".
|
|
1095
|
+
*/
|
|
1096
|
+
clipboardPasteParser?: string | PasteParser;
|
|
1097
|
+
/**
|
|
1098
|
+
* Once the data has been parsed into row data, it will be passed to a paste action to be added to the table. There are three inbuilt paste actions:
|
|
1099
|
+
*
|
|
1100
|
+
* insert - Inserts data into the table using the addRows function (default)
|
|
1101
|
+
* update - Updates data in the table using the updateOrAddData function
|
|
1102
|
+
* replace - replaces all data in the table using the setData function
|
|
1103
|
+
*/
|
|
1104
|
+
clipboardPasteAction?: 'insert' | 'update' | 'replace' | 'range';
|
|
1105
|
+
/**
|
|
1106
|
+
* By default Tabulator will copy some of the tables styling along with the data to give a better visual appearance when pasted into other documents.
|
|
1107
|
+
*
|
|
1108
|
+
* If you want to only copy the un-styled data then you should set the clipboardCopyStyled option to false in the table options object:
|
|
1109
|
+
*/
|
|
1110
|
+
clipboardCopyStyled?: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* By default Tabulator includes column headers, row groups and column calculations in the clipboard output.
|
|
1113
|
+
*
|
|
1114
|
+
* You can choose to remove column headers groups, row groups or column calculations from the output data by setting the values in the clipboardCopyConfig option in the table definition:
|
|
1115
|
+
*/
|
|
1116
|
+
clipboardCopyConfig?: ClipboardCopyConfig;
|
|
1117
|
+
/** When copying to clipboard you may want to apply a different group header from the one usually used in the table. You can now do this using the groupHeaderClipboard table option, which takes the same inputs as the standard groupHeader property. */
|
|
1118
|
+
groupHeaderClipboard?: ((value: any, count: number, data: any, group: IGroupComponent) => string) | Array<(value: any, count: number, data: any) => string>;
|
|
1119
|
+
/** When the getHtml function is called you may want to apply a different group header from the one usually used in the table. You can now do this using the groupHeaderHtmlOutput table option, which takes the same inputs as the standard groupHeader property. */
|
|
1120
|
+
groupHeaderHtmlOutput?: ((value: any, count: number, data: any, group: IGroupComponent) => string) | Array<(value: any, count: number, data: any) => string>;
|
|
1121
|
+
}
|
|
1122
|
+
export interface OptionsPersistentConfiguration {
|
|
1123
|
+
/** ID tag used to identify persistent storage information. */
|
|
1124
|
+
persistenceID?: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* Persistence information can either be stored in a cookie or in the localStorage object, you can use the persistenceMode to choose which. It can take three possible values:
|
|
1127
|
+
*
|
|
1128
|
+
* local - (string) Store the persistence information in the localStorage object
|
|
1129
|
+
* cookie - (string) Store the persistence information in a cookie
|
|
1130
|
+
* true - (boolean) check if localStorage is available and store persistence information, otherwise store in cookie (Default option)
|
|
1131
|
+
*/
|
|
1132
|
+
persistenceMode?: 'local' | 'cookie' | true;
|
|
1133
|
+
/** Enable persistent storage of column layout information. */
|
|
1134
|
+
persistentLayout?: boolean;
|
|
1135
|
+
/** You can ensure the data sorting is stored for the next page load by setting the persistentSort option to true. */
|
|
1136
|
+
persistentSort?: boolean;
|
|
1137
|
+
/** You can ensure the data filtering is stored for the next page load by setting the persistentFilter option to true. */
|
|
1138
|
+
persistentFilter?: boolean;
|
|
1139
|
+
/** By setting the persistence property to true the table will persist the sort, filter, group (groupBy, groupStartOpen, groupHeader), pagination (paginationSize), and column (title, width, visibility, order) configuration of the table. */
|
|
1140
|
+
persistence?: true | PersistenceOptions;
|
|
1141
|
+
/** The persistenceWriterFunc function will receive three arguments, the persistance id of the table, the type of data to be written and an object or array representing the data */
|
|
1142
|
+
persistenceWriterFunc?: (id: string, type: keyof PersistenceOptions, data: any) => any;
|
|
1143
|
+
/** The persistenceReaderFunc function will receive two arguments, the persistance id of the table, and the type of data to be written. This function must synchronously return the data in the format in which it was passed to the persistenceWriterFunc function. It should return a value of false if no data was present. */
|
|
1144
|
+
persistenceReaderFunc?: (id: string, type: keyof PersistenceOptions) => any;
|
|
1145
|
+
}
|
|
1146
|
+
export interface PersistenceOptions {
|
|
1147
|
+
sort?: boolean;
|
|
1148
|
+
filter?: boolean;
|
|
1149
|
+
group?: boolean | PersistenceGroupOptions;
|
|
1150
|
+
page?: boolean | PersistencePageOptions;
|
|
1151
|
+
columns?: boolean | string[];
|
|
1152
|
+
headerFilter?: boolean;
|
|
1153
|
+
}
|
|
1154
|
+
export interface PersistenceGroupOptions {
|
|
1155
|
+
groupBy?: boolean;
|
|
1156
|
+
groupStartOpen?: boolean;
|
|
1157
|
+
groupHeader?: boolean;
|
|
1158
|
+
}
|
|
1159
|
+
export interface PersistencePageOptions {
|
|
1160
|
+
size?: boolean;
|
|
1161
|
+
page?: boolean;
|
|
1162
|
+
}
|
|
1163
|
+
export interface OptionsPagination {
|
|
1164
|
+
pagination?: boolean;
|
|
1165
|
+
paginationMode?: DataSource;
|
|
1166
|
+
/** Set the number of rows in each page. */
|
|
1167
|
+
paginationSize?: number;
|
|
1168
|
+
/**
|
|
1169
|
+
* Setting this option to true will cause Tabulator to create a list of page size options, that are multiples of the current page size. In the example below, the list will have the values of 5, 10, 15 and 20.
|
|
1170
|
+
*
|
|
1171
|
+
* When using the page size selector like this, if you use the setPageSize function to set the page size to a value not in the list, the list will be regenerated using the new page size as the starting valuer
|
|
1172
|
+
*/
|
|
1173
|
+
paginationSizeSelector?: true | number[] | any[];
|
|
1174
|
+
/** By default the pagination controls are added to the footer of the table. If you wish the controls to be created in another element pass a DOM node or a CSS selector for that element to the paginationElement option. */
|
|
1175
|
+
paginationElement?: HTMLElement | string;
|
|
1176
|
+
/**
|
|
1177
|
+
* Lookup list to link expected data fields from the server to their function
|
|
1178
|
+
* ```typescript
|
|
1179
|
+
* default: {
|
|
1180
|
+
* "current_page": "current_page",
|
|
1181
|
+
* "last_page": "last_page",
|
|
1182
|
+
* "data": "data",
|
|
1183
|
+
* }
|
|
1184
|
+
* ```
|
|
1185
|
+
*/
|
|
1186
|
+
dataReceiveParams?: Record<string, string>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Lookup list to link fields expected by the server to their function
|
|
1189
|
+
* ```typescript
|
|
1190
|
+
* default: {
|
|
1191
|
+
* "page": "page",
|
|
1192
|
+
* "size": "size",
|
|
1193
|
+
* "sorters": "sorters",
|
|
1194
|
+
* "filters": "filters",
|
|
1195
|
+
* }
|
|
1196
|
+
* ```
|
|
1197
|
+
*/
|
|
1198
|
+
dataSendParams?: Record<string, string>;
|
|
1199
|
+
/**
|
|
1200
|
+
* When using the addRow function on a paginated table, rows will be added relative to the current page (ie to the top or bottom of the current page), with overflowing rows being shifted onto the next page.
|
|
1201
|
+
*
|
|
1202
|
+
* If you would prefer rows to be added relative to the table (firs/last page) then you can use the paginationAddRow option. it can take one of two values:
|
|
1203
|
+
*
|
|
1204
|
+
* page - add rows relative to current page (default)
|
|
1205
|
+
* table - add rows relative to the table
|
|
1206
|
+
*/
|
|
1207
|
+
paginationAddRow?: 'table' | 'page';
|
|
1208
|
+
/**
|
|
1209
|
+
* You can choose to display a pagination counter in the bottom left of the footer that shows a summary of the current number of rows shown out of the total.
|
|
1210
|
+
*/
|
|
1211
|
+
paginationCounter?: PaginationCounter;
|
|
1212
|
+
/**
|
|
1213
|
+
* By default the counter will be displayed in the left of the table footer. If you would like it displayed in another element pass a DOM node or a CSS selector for that element.
|
|
1214
|
+
*/
|
|
1215
|
+
paginationCounterElement?: string | HTMLElement;
|
|
1216
|
+
/** The number of pagination page buttons shown in the footer using the paginationButtonCount option. By default this has a value of 5. */
|
|
1217
|
+
paginationButtonCount?: number;
|
|
1218
|
+
/** Specify that a specific page should be loaded when the table first load. */
|
|
1219
|
+
paginationInitialPage?: number;
|
|
1220
|
+
/** Whether to show the button to go the first page. */
|
|
1221
|
+
paginationShowFirst?: boolean;
|
|
1222
|
+
/** Whether to show the button to go the last page. */
|
|
1223
|
+
paginationShowLast?: boolean;
|
|
1224
|
+
/** Whether to show the pagination buttons. */
|
|
1225
|
+
showPaginationButtons?: boolean;
|
|
1226
|
+
}
|
|
1227
|
+
export type GroupArg = string | string[] | ((data: any) => any) | Array<string | ((data: any) => any)>;
|
|
1228
|
+
export interface OptionsRowGrouping {
|
|
1229
|
+
/** String/function to select field to group rows by */
|
|
1230
|
+
groupBy?: GroupArg;
|
|
1231
|
+
/**
|
|
1232
|
+
* By default Tabulator will create groups for rows based on the values contained in the row data. if you want to explicitly define which field values groups should be created for at each level, you can use the groupValues option.
|
|
1233
|
+
*
|
|
1234
|
+
* This option takes an array of value arrays, each item in the first array should be a list of acceptable field values for groups at that level
|
|
1235
|
+
*/
|
|
1236
|
+
groupValues?: GroupValuesArg;
|
|
1237
|
+
/** You can use the setGroupHeader function to change the header generation function for each group. This function has one argument and takes the same values as passed to the groupHeader setup option. */
|
|
1238
|
+
groupHeader?: ((value: any, count: number, data: any, group: IGroupComponent) => string) | Array<(value: any, count: number, data: any, group: IGroupComponent) => string>;
|
|
1239
|
+
/** When true, displays the item count in the group header. */
|
|
1240
|
+
groupHeaderCount?: boolean;
|
|
1241
|
+
/** Indentation in pixels applied per group level. Defaults to 10. */
|
|
1242
|
+
groupIndent?: number;
|
|
1243
|
+
/** When printing you may want to apply a different group header from the one usually used in the table. You can now do this using the groupHeaderPrint table option, which takes the same inputs as the standard groupHeader property. */
|
|
1244
|
+
groupHeaderPrint?: ((value: any, count: number, data: any, group: IGroupComponent) => string) | Array<(value: any, count: number, data: any) => string>;
|
|
1245
|
+
/**
|
|
1246
|
+
* You can set the default open state of groups using the groupStartOpen property* * This can take one of three possible values:
|
|
1247
|
+
*
|
|
1248
|
+
* true - all groups start open (default value)
|
|
1249
|
+
* false - all groups start closed
|
|
1250
|
+
* function() - a callback to decide if a group should start open or closed
|
|
1251
|
+
* Group Open Function
|
|
1252
|
+
* If you want to decide on a group by group basis which should start open or closed then you can pass a function to the groupStartOpen property. This should return true if the group should start open or false if the group should start closed.
|
|
1253
|
+
*/
|
|
1254
|
+
groupStartOpen?: boolean | boolean[] | ((value: any, count: number, data: any, group: IGroupComponent) => boolean) | Array<boolean | ((value: any, count: number, data: any, group: IGroupComponent) => boolean)>;
|
|
1255
|
+
/**
|
|
1256
|
+
* By default Tabulator allows users to toggle a group open or closed by clicking on the arrow icon in the left of the group header. If you would prefer a different behavior you can use the groupToggleElement option to choose a different option:* * The option can take one of three values:
|
|
1257
|
+
* arrow - toggle group on arrow element click
|
|
1258
|
+
* header - toggle group on click anywhere on the group header element
|
|
1259
|
+
* false - prevent clicking anywhere in the group toggling the group
|
|
1260
|
+
*/
|
|
1261
|
+
groupToggleElement?: 'arrow' | 'header' | false;
|
|
1262
|
+
/** show/hide column calculations when group is closed. */
|
|
1263
|
+
groupClosedShowCalcs?: boolean;
|
|
1264
|
+
groupUpdateOnCellEdit?: boolean;
|
|
1265
|
+
}
|
|
1266
|
+
export interface Filter {
|
|
1267
|
+
field: string | FilterFunction;
|
|
1268
|
+
type: FilterType;
|
|
1269
|
+
value: any;
|
|
1270
|
+
params?: FilterParams;
|
|
1271
|
+
}
|
|
1272
|
+
export interface FilterParams {
|
|
1273
|
+
separator?: string;
|
|
1274
|
+
matchAll?: boolean;
|
|
1275
|
+
}
|
|
1276
|
+
export type FilterFunction = (data: any, filter: Filter) => boolean;
|
|
1277
|
+
export interface OptionsFiltering {
|
|
1278
|
+
/** Array of filters to be applied on load. */
|
|
1279
|
+
initialFilter?: Filter[];
|
|
1280
|
+
/** array of initial values for header filters. */
|
|
1281
|
+
initialHeaderFilter?: Array<Pick<Filter, 'field' | 'value'>>;
|
|
1282
|
+
/** When using real time header filtering, Tabulator will wait 300 milliseconds after a keystroke before triggering the filter. You can customize this delay by using the headerFilterLiveFilterDelay table setup option. */
|
|
1283
|
+
headerFilterLiveFilterDelay?: number;
|
|
1284
|
+
}
|
|
1285
|
+
export interface Sorter {
|
|
1286
|
+
column: string;
|
|
1287
|
+
dir: SortDirection;
|
|
1288
|
+
}
|
|
1289
|
+
export interface SorterFromTable {
|
|
1290
|
+
/** The column component for the sorted column. */
|
|
1291
|
+
column: IColumnComponent;
|
|
1292
|
+
/** A string of the field name for the sorted column. */
|
|
1293
|
+
field: string;
|
|
1294
|
+
/** A string of either `asc` or `desc` indicating the direction of sort. */
|
|
1295
|
+
dir: SortDirection;
|
|
1296
|
+
}
|
|
1297
|
+
export interface OptionsData {
|
|
1298
|
+
/** A unique index value should be present for each row of data if you want to be able to programmatically alter that data at a later point, this should be either numeric or a string. By default Tabulator will look for this value in the id field for the data. If you wish to use a different field as the index, set this using the index option parameter. */
|
|
1299
|
+
index?: number | string;
|
|
1300
|
+
/** Array to hold data that should be loaded on table creation. */
|
|
1301
|
+
data?: Array<Record<string, any>>;
|
|
1302
|
+
importFormat?: 'array' | 'csv' | 'json' | ((fileContents: string) => unknown[]);
|
|
1303
|
+
/** By default Tabulator will read in the file as plain text, which is the format used by all the built in importers. If you need to read the file data in a different format then you can use the importReader option to instruct the file reader to read in the file in a different format. */
|
|
1304
|
+
importReader?: 'binary' | 'buffer' | 'text' | 'url';
|
|
1305
|
+
autoTables?: boolean;
|
|
1306
|
+
/** If you wish to retrieve your data from a remote source you can set the URL for the request in the ajaxURL option. */
|
|
1307
|
+
ajaxURL?: string;
|
|
1308
|
+
/** Parameters to be passed to remote Ajax data loading request. */
|
|
1309
|
+
ajaxParams?: Record<string, unknown>;
|
|
1310
|
+
/** The HTTP request type for Ajax requests or config object for the request. */
|
|
1311
|
+
ajaxConfig?: HttpMethod | AjaxConfig;
|
|
1312
|
+
/**
|
|
1313
|
+
* When using a request method other than "GET" Tabulator will send any parameters with a content type of form data. You can change the content type with the ajaxContentType option. This will ensure parameters are sent in the format you expect, with the correct headers. * * The ajaxContentType option can take one of two values:
|
|
1314
|
+
* "form" - send parameters as form data (default option)
|
|
1315
|
+
* "json" - send parameters as JSON encoded string
|
|
1316
|
+
* If you want to use a custom content type then you can pass a content type formatter object into the ajaxContentType option. this object must have two properties, the headers property should contain all headers that should be sent with the request and the body property should contain a function that returns the body content of the request
|
|
1317
|
+
*/
|
|
1318
|
+
ajaxContentType?: 'form' | 'json' | AjaxContentType;
|
|
1319
|
+
/**
|
|
1320
|
+
* If you need more control over the url of the request that you can get from the ajaxURL and ajaxParams properties, the you can use the ajaxURLGenerator property to pass in a callback that will generate the URL for you.
|
|
1321
|
+
*
|
|
1322
|
+
* The callback should return a string representing the URL to be requested.
|
|
1323
|
+
*/
|
|
1324
|
+
ajaxURLGenerator?: (url: string, config: any, params: any) => string;
|
|
1325
|
+
/** callback function to replace inbuilt ajax request functionality */
|
|
1326
|
+
ajaxRequestFunc?: (url: string, config: any, params: any) => Promise<any>;
|
|
1327
|
+
/** Send filter config to server instead of processing locally */
|
|
1328
|
+
ajaxFiltering?: boolean;
|
|
1329
|
+
/** Send sorter config to server instead of processing locally */
|
|
1330
|
+
ajaxSorting?: boolean;
|
|
1331
|
+
/**
|
|
1332
|
+
* If you are loading a lot of data from a remote source into your table in one go, it can sometimes take a long time for the server to return the request, which can slow down the user experience.
|
|
1333
|
+
*
|
|
1334
|
+
* To speed things up in this situation Tabulator has a progressive load mode, this uses the pagination module to make a series of requests for part of the data set, one at a time, appending it to the table as the data arrives. This mode can be enable using the ajaxProgressiveLoad option. No pagination controls will be visible on screen, it just reuses the functionality of the pagination module to sequentially load the data.
|
|
1335
|
+
*
|
|
1336
|
+
* With this mode enabled, all of the settings outlined in the Ajax Documentation are still available
|
|
1337
|
+
*
|
|
1338
|
+
* There are two different progressive loading modes, to give you a choice of how data is loaded into the table.
|
|
1339
|
+
*/
|
|
1340
|
+
progressiveLoad?: 'load' | 'scroll';
|
|
1341
|
+
/** By default tabulator will make the requests to fill the table as quickly as possible. On some servers these repeats requests from the same client may trigger rate limiting or security systems. In this case you can use the ajaxProgressiveLoadDelay option to add a delay in milliseconds between each page request. */
|
|
1342
|
+
progressiveLoadDelay?: number;
|
|
1343
|
+
/** The ajaxProgressiveLoadScrollMargin property determines how close to the bottom of the table in pixels, the scroll bar must be before the next page worth of data is loaded, by default it is set to twice the height of the table. */
|
|
1344
|
+
progressiveLoadScrollMargin?: number;
|
|
1345
|
+
/** Show loader while data is loading, can also take a function that must return a boolean. */
|
|
1346
|
+
ajaxLoader?: boolean | (() => boolean);
|
|
1347
|
+
/** html for loader element. */
|
|
1348
|
+
ajaxLoaderLoading?: string;
|
|
1349
|
+
/** html for the loader element in the event of an error. */
|
|
1350
|
+
ajaxLoaderError?: string;
|
|
1351
|
+
/** The ajaxRequesting callback is triggered when ever an ajax request is made. */
|
|
1352
|
+
ajaxRequesting?: (url: string, params: any) => boolean;
|
|
1353
|
+
/** The ajaxResponse callback is triggered when a successful ajax request has been made. This callback can also be used to modify the received data before it is parsed by the table. If you use this callback it must return the data to be parsed by Tabulator, otherwise no data will be rendered. */
|
|
1354
|
+
ajaxResponse?: (url: string, params: any, response: any) => any;
|
|
1355
|
+
dataLoader?: boolean;
|
|
1356
|
+
dataLoaderLoading?: string | HTMLElement;
|
|
1357
|
+
dataLoaderError?: string;
|
|
1358
|
+
dataLoaderErrorTimeout?: number;
|
|
1359
|
+
sortMode?: DataSource;
|
|
1360
|
+
filterMode?: DataSource;
|
|
1361
|
+
}
|
|
1362
|
+
export declare enum DataSource {
|
|
1363
|
+
Local = "local",
|
|
1364
|
+
Remote = "remote"
|
|
1365
|
+
}
|
|
1366
|
+
export interface AjaxContentType {
|
|
1367
|
+
headers: JSONRecord;
|
|
1368
|
+
body: (url: string, config: any, params: any) => any;
|
|
1369
|
+
}
|
|
1370
|
+
export type HttpMethod = 'GET' | 'POST';
|
|
1371
|
+
export interface AjaxConfig {
|
|
1372
|
+
method?: HttpMethod;
|
|
1373
|
+
headers?: JSONRecord;
|
|
1374
|
+
mode?: string;
|
|
1375
|
+
credentials?: string;
|
|
1376
|
+
}
|
|
1377
|
+
export type AddRowPos = 'bottom' | 'top' | 'pos';
|
|
1378
|
+
export interface OptionsRows {
|
|
1379
|
+
/**
|
|
1380
|
+
* Tabulator also allows you to define a row level formatter using the rowFormatter option. this lets you alter each row of the table based on the data it contains.
|
|
1381
|
+
* The function accepts one argument, the RowComponent for the row being formatted.
|
|
1382
|
+
*/
|
|
1383
|
+
rowFormatter?: (row: IRowComponent) => any;
|
|
1384
|
+
/** When printing you may want to apply a different formatter may want to apply a different formatter from the one usually used to format the row. */
|
|
1385
|
+
rowFormatterPrint?: false | ((row: IRowComponent) => any);
|
|
1386
|
+
/** When the getHtml function is called you may want to apply a different formatter may want to apply a different formatter from the one usually used to format the row */
|
|
1387
|
+
rowFormatterHtmlOutput?: false | ((row: IRowComponent) => any);
|
|
1388
|
+
/** When copying to the clipboard you may want to apply a different formatter may want to apply a different formatter from the one usually used to format the row. You can now do this using the rowFormatterClipboard table option, which takes the same inputs as the standard rowFormatter property. Passing a value of false into the formatter prevent the default row formatter from being run when the table is copied to the clipboard. */
|
|
1389
|
+
rowFormatterClipboard?: false | ((row: IRowComponent) => any);
|
|
1390
|
+
/** The position in the table for new rows to be added, "bottom" or "top". */
|
|
1391
|
+
addRowPos?: AddRowPos;
|
|
1392
|
+
/**
|
|
1393
|
+
* The selectableRows option can take one of a several values:
|
|
1394
|
+
*
|
|
1395
|
+
* - false - selectable rows are disabled
|
|
1396
|
+
* - true - selectable rows are enabled, and you can select as many as you want
|
|
1397
|
+
* - integer - any integer value, this sets the maximum number of rows that can be selected (when the maximum number of selected rows is exceeded, the first selected row will be deselected to allow the next row to be selected).
|
|
1398
|
+
* - "highlight" (default) - rows have the same hover stylings as selectable rows but do not change state when clicked. This is great for when you want to show that a row is clickable but don't want it to be selectable.
|
|
1399
|
+
*/
|
|
1400
|
+
selectableRows?: boolean | number | 'highlight';
|
|
1401
|
+
/**
|
|
1402
|
+
* The selectableRange option can take one of a several values:
|
|
1403
|
+
*
|
|
1404
|
+
* - false - range selection is disabled
|
|
1405
|
+
* - true - range selection is enabled, and you can add as many ranges as you want
|
|
1406
|
+
* - integer - any integer value, this sets the maximum number of ranges that can be selected (when the maximum
|
|
1407
|
+
* number of ranges is exceeded, the first selected range will be deselected to allow the next range to be selected).
|
|
1408
|
+
*/
|
|
1409
|
+
selectableRange?: boolean | number;
|
|
1410
|
+
selectableRangeAutoFocus?: boolean;
|
|
1411
|
+
/**
|
|
1412
|
+
* By default you can only select ranges by selecting cells on the table. If you would like to allow the user to
|
|
1413
|
+
* select all cells in a column by clicking on the column header, then you can set the selectableRangeColumns option to true
|
|
1414
|
+
*/
|
|
1415
|
+
selectableRangeColumns?: boolean;
|
|
1416
|
+
/**
|
|
1417
|
+
* By default you can only select ranges by selecting cells on the table. If you would like to allow the user to
|
|
1418
|
+
* select all cells in row by clicking on the row header, then you can set the selectableRangeColumns option to true
|
|
1419
|
+
*/
|
|
1420
|
+
selectableRangeRows?: boolean;
|
|
1421
|
+
/**
|
|
1422
|
+
* If you want the user to be able to clear the values for all cells in the active range by pressing the backspace
|
|
1423
|
+
* or delete keys, then you can enable this behavior using the selectableRangeClearCells option:
|
|
1424
|
+
*
|
|
1425
|
+
* @example
|
|
1426
|
+
* var table = new Tabulator("#example-table", {
|
|
1427
|
+
* selectableRangeClearCells:true,
|
|
1428
|
+
* });
|
|
1429
|
+
*/
|
|
1430
|
+
selectableRangeClearCells?: boolean;
|
|
1431
|
+
/**
|
|
1432
|
+
* By default the value of each cell in the range is set to undefined when this option is enabled and the user
|
|
1433
|
+
* presses the backspace or delete keys. You can change the value the cells are set to using the
|
|
1434
|
+
* selectableRangeClearCellsValue option
|
|
1435
|
+
*
|
|
1436
|
+
* @example
|
|
1437
|
+
* var table = new Tabulator("#example-table", {
|
|
1438
|
+
* selectableRangeClearCellsValue: "", //clear cells by setting value to an empty string
|
|
1439
|
+
* });
|
|
1440
|
+
*/
|
|
1441
|
+
selectableRangeClearCellsValue?: unknown;
|
|
1442
|
+
/**
|
|
1443
|
+
* By default you can select a range of rows by holding down the shift key and click dragging over a number of rows
|
|
1444
|
+
* to toggle the selected state state of all rows the cursor passes over.
|
|
1445
|
+
*
|
|
1446
|
+
* If you would prefer to select a range of row by clicking on the first row then holding down shift and clicking
|
|
1447
|
+
* on the end row then you can achieve this by setting the selectableRowsRangeMode to click.
|
|
1448
|
+
*
|
|
1449
|
+
* @example
|
|
1450
|
+
* var table = new Tabulator("#example-table", {
|
|
1451
|
+
* selectableRowsRangeMode:"click",
|
|
1452
|
+
* });
|
|
1453
|
+
*/
|
|
1454
|
+
selectableRowsRangeMode?: 'click' | 'drag';
|
|
1455
|
+
/**
|
|
1456
|
+
* By default, row selection works on a rolling basis, if you set the selectableRows option to a numeric value then
|
|
1457
|
+
* when you select past this number of rows, the first row to be selected will be deselected. If you want to
|
|
1458
|
+
* disable this behavior and instead prevent selection of new rows once the limit is reached you can set the
|
|
1459
|
+
* selectableRowsRollingSelection option to false.
|
|
1460
|
+
*
|
|
1461
|
+
* @example
|
|
1462
|
+
* var table = new Tabulator("#example-table", {
|
|
1463
|
+
* selectableRows: 5,
|
|
1464
|
+
* selectableRowsRollingSelection:false, // disable rolling selection
|
|
1465
|
+
* });
|
|
1466
|
+
*/
|
|
1467
|
+
selectableRowsRollingSelection?: boolean;
|
|
1468
|
+
/**
|
|
1469
|
+
* By default Tabulator will maintain selected rows when the table is filtered, sorted or paginated (but NOT when
|
|
1470
|
+
* the setData function is used). If you want the selected rows to be cleared whenever the table view is updated
|
|
1471
|
+
* then set the selectableRowsPersistence option to false.
|
|
1472
|
+
*
|
|
1473
|
+
* @example
|
|
1474
|
+
* var table = new Tabulator("#example-table", {
|
|
1475
|
+
* selectableRows: true,
|
|
1476
|
+
* selectableRowsPersistence: false, // disable selection persistence
|
|
1477
|
+
* });
|
|
1478
|
+
*/
|
|
1479
|
+
selectableRowsPersistence?: boolean;
|
|
1480
|
+
/** You many want to exclude certain rows from being selected. The selectableRowsCheck options allows you to pass a function to check if the current row should be selectable, returning true will allow row selection, false will result in nothing happening. The function should accept a RowComponent as its first argument. */
|
|
1481
|
+
selectableRowsCheck?: (row: IRowComponent) => boolean;
|
|
1482
|
+
/** To allow the user to move rows up and down the table, set the movableRows parameter in the options: */
|
|
1483
|
+
movableRows?: boolean;
|
|
1484
|
+
/** Tabulator also allows you to move rows between tables. To enable this you should supply either a valid CSS selector string a DOM node for the table or the Tabulator object for the table to the movableRowsConnectedTables option. if you want to connect to multiple tables then you can pass in an array of values to this option. */
|
|
1485
|
+
movableRowsConnectedTables?: string | string[] | HTMLElement | HTMLElement[];
|
|
1486
|
+
/**
|
|
1487
|
+
* The movableRowsSender option should be set on the sending table, and sets the action that should be taken after the row has been successfully dropped into the receiving table.
|
|
1488
|
+
* There are several inbuilt sender functions:
|
|
1489
|
+
*
|
|
1490
|
+
* - false - do nothing(default)
|
|
1491
|
+
* - delete - deletes the row from the table
|
|
1492
|
+
* You can also pass a callback to the movableRowsSender option for custom sender functionality
|
|
1493
|
+
*/
|
|
1494
|
+
movableRowsSender?: false | 'delete' | ((fromRow: IRowComponent, toRow: IRowComponent, toTable: any) => any);
|
|
1495
|
+
/**
|
|
1496
|
+
* The movableRowsReceiver option should be set on the receiving tables, and sets the action that should be taken when the row is dropped into the table.
|
|
1497
|
+
* There are several inbuilt receiver functions:
|
|
1498
|
+
*
|
|
1499
|
+
* - insert - inserts row next to the row it was dropped on, if not dropped on a row it is added to the table (default)
|
|
1500
|
+
* - add - adds row to the table
|
|
1501
|
+
* - update - updates the row it is dropped on with the sent rows data
|
|
1502
|
+
* - replace - replaces the row it is dropped on with the sent row
|
|
1503
|
+
*/
|
|
1504
|
+
movableRowsReceiver?: 'insert' | 'add' | 'update' | 'replace' | ((fromRow: IRowComponent, toRow: IRowComponent, fromTable: ITabulator) => any);
|
|
1505
|
+
movableRowsConnectedElements?: string | HTMLElement;
|
|
1506
|
+
/** You can allow the user to manually resize rows by dragging the top or bottom border of a row. To enable this functionality, set the resizableRows property to true. */
|
|
1507
|
+
resizableRows?: boolean;
|
|
1508
|
+
/**
|
|
1509
|
+
* Allows the user to control the height of rows in the table by dragging the bottom border of the row.
|
|
1510
|
+
* These guides will only appear on columns with the `resizable` option enabled in their column definition.
|
|
1511
|
+
*/
|
|
1512
|
+
resizableRowGuide?: boolean;
|
|
1513
|
+
/**
|
|
1514
|
+
* Allows the user to control the height of columns in the table by dragging the border of the column.
|
|
1515
|
+
* These guides will only appear if the `resizableRows` option is enabled.
|
|
1516
|
+
*/
|
|
1517
|
+
resizableColumnGuide?: boolean;
|
|
1518
|
+
/**
|
|
1519
|
+
* The default ScrollTo position can be set using the scrollToRowPosition option. It can take one of four possible values:
|
|
1520
|
+
*
|
|
1521
|
+
* top - position row with its top edge at the top of the table (default)
|
|
1522
|
+
* center - position row with its top edge in the center of the table
|
|
1523
|
+
* bottom - position row with its bottom edge at the bottom of the table
|
|
1524
|
+
* nearest - position row on the edge of the table it is closest to
|
|
1525
|
+
*/
|
|
1526
|
+
scrollToRowPosition?: ScrollToRowPosition;
|
|
1527
|
+
/**
|
|
1528
|
+
* The default option for triggering a ScrollTo on a visible element can be set using the scrollToRowIfHidden option. It can take a boolean value:
|
|
1529
|
+
*
|
|
1530
|
+
* false - scroll to row, even if it is visible (default)
|
|
1531
|
+
* true - scroll to row, unless it is currently visible, then don't move
|
|
1532
|
+
*/
|
|
1533
|
+
scrollToRowIfHidden?: boolean;
|
|
1534
|
+
/** Allows you to specify the behavior when the user tabs from the last editable cell on the last row of the table. */
|
|
1535
|
+
tabEndNewRow?: boolean | JSONRecord | ((row: IRowComponent) => any);
|
|
1536
|
+
frozenRowsField?: string;
|
|
1537
|
+
/** Freeze rows of data */
|
|
1538
|
+
frozenRows?: number | string[] | ((row: IRowComponent) => boolean);
|
|
1539
|
+
/**
|
|
1540
|
+
* The editTriggerEvent option lets you choose which type of interaction event will trigger an edit on a cell.
|
|
1541
|
+
*
|
|
1542
|
+
* @example
|
|
1543
|
+
* var table = new Tabulator("#example-table", {
|
|
1544
|
+
* editTriggerEvent:"dblclick", // trigger edit on double click
|
|
1545
|
+
* });
|
|
1546
|
+
*
|
|
1547
|
+
* This option can take one of three values:
|
|
1548
|
+
*
|
|
1549
|
+
* - focus - trigger edit when the cell has focus (default)
|
|
1550
|
+
* - click - trigger edit on single click on cell
|
|
1551
|
+
* - dblclick - trigger edit on double click on cell
|
|
1552
|
+
*
|
|
1553
|
+
* This option does not affect navigation behavior, cells edits will still be triggered when they are navigated to
|
|
1554
|
+
* through arrow keys or tabs.
|
|
1555
|
+
*/
|
|
1556
|
+
editTriggerEvent?: 'click' | 'dblclick' | 'focus';
|
|
1557
|
+
}
|
|
1558
|
+
export interface OptionsColumns {
|
|
1559
|
+
/** The column definitions are provided to Tabulator in the columns property of the table constructor object and should take the format of an array of objects, with each object representing the configuration of one column. */
|
|
1560
|
+
columns?: ColumnDefinition[];
|
|
1561
|
+
/** If you set the autoColumns option to true, every time data is loaded into the table through the data option or through the setData function, Tabulator will examine the first row of the data and build columns to match that data. */
|
|
1562
|
+
autoColumns?: boolean | 'full';
|
|
1563
|
+
autoColumnsDefinitions?: ((columnDefinitions?: ColumnDefinition[]) => Array<Partial<ColumnDefinition>>) | Array<Partial<ColumnDefinition>> | Record<string, Partial<ColumnDefinition>>;
|
|
1564
|
+
/** By default Tabulator will use the fitData layout mode, which will resize the tables columns to fit the data held in each column, unless you specify a width or minWidth in the column constructor. If the width of all columns exceeds the width of the containing element, a scroll bar will appear. */
|
|
1565
|
+
layout?: 'fitData' | 'fitColumns' | 'fitDataFill' | 'fitDataStretch' | 'fitDataTable';
|
|
1566
|
+
/**
|
|
1567
|
+
* To keep the layout of the columns consistent, once the column widths have been set on the first data load (either from the data property in the constructor or the setData function) they will not be changed when new data is loaded.
|
|
1568
|
+
*
|
|
1569
|
+
* If you would prefer that the column widths adjust to the data each time you load it into the table you can set the layoutColumnsOnNewData property to true.
|
|
1570
|
+
*/
|
|
1571
|
+
layoutColumnsOnNewData?: boolean;
|
|
1572
|
+
/**
|
|
1573
|
+
* Responsive layout will automatically hide/show columns to fit the width of the Tabulator element. This allows for clean rendering of tables on smaller mobile devices, showing important data while avoiding horizontal scroll bars. You can enable responsive layouts using the responsiveLayout option.
|
|
1574
|
+
*
|
|
1575
|
+
* There are two responsive layout modes available:
|
|
1576
|
+
*
|
|
1577
|
+
* hide - hide columns that no longer fit in the table
|
|
1578
|
+
* collapse - collapse columns that no longer fit on the table into a list under the row
|
|
1579
|
+
*
|
|
1580
|
+
* Hide Extra Columns
|
|
1581
|
+
* By default, columns will be hidden from right to left as the width of the table decreases. You can choose exactly how columns are hidden using the responsive property in the column definition object.
|
|
1582
|
+
*
|
|
1583
|
+
* When responsive layout is enabled, all columns are given a default responsive value of 1. The higher you set this value the sooner that column will be hidden as the table width decreases. If two columns have the same responsive value then they are hidden from right to left (as defined in the column definition array, ignoring user moving of the columns). If you set the value to 0 then the column will never be hidden regardless of how narrow the table gets.
|
|
1584
|
+
*/
|
|
1585
|
+
responsiveLayout?: boolean | 'hide' | 'collapse';
|
|
1586
|
+
/** Collapsed lists are displayed to the user by default, if you would prefer they start closed so the user can open them you can use the responsiveLayoutCollapseStartOpen option. */
|
|
1587
|
+
responsiveLayoutCollapseStartOpen?: boolean;
|
|
1588
|
+
/**
|
|
1589
|
+
* By default any formatter set on the column is applied to the value that will appear in the list. while this works for most formatters it can cause issues with the progress formatter which relies on being inside a cell.
|
|
1590
|
+
*
|
|
1591
|
+
* If you would like to disable column formatting in the collapsed list, you can use the responsiveLayoutCollapseUseFormatters option:
|
|
1592
|
+
*/
|
|
1593
|
+
responsiveLayoutCollapseUseFormatters?: boolean;
|
|
1594
|
+
/**
|
|
1595
|
+
* If you set the responsiveLayout option to collapse the values from hidden columns will be displayed in a title/value list under the row.
|
|
1596
|
+
*
|
|
1597
|
+
* In this mode an object containing the title of each hidden column and its value is generated and then used to generate a list displayed in a div .tabulator-responsive-collapse under the row data.
|
|
1598
|
+
*
|
|
1599
|
+
* The inbuilt collapse formatter creates a table to neatly display the hidden columns. If you would like to format the data in your own way you can use the responsiveLayoutCollapseFormatter, it take an object of the column values as an argument and must return the HTML content of the div.
|
|
1600
|
+
*
|
|
1601
|
+
* This function should return an empty string if there is no data to display.
|
|
1602
|
+
*/
|
|
1603
|
+
responsiveLayoutCollapseFormatter?: (data: any[]) => any;
|
|
1604
|
+
/** To allow the user to move columns along the table, set the movableColumns parameter in the options: */
|
|
1605
|
+
movableColumns?: boolean;
|
|
1606
|
+
/** You can use the columnHeaderVertAlign option to set how the text in your column headers should be vertically. */
|
|
1607
|
+
columnHeaderVertAlign?: VerticalAlign;
|
|
1608
|
+
/**
|
|
1609
|
+
* The default ScrollTo position can be set using the scrollToColumnPosition option. It can take one of three possible values:
|
|
1610
|
+
*
|
|
1611
|
+
* left - position column with its left edge at the left of the table (default)
|
|
1612
|
+
* center - position column with its left edge in the center of the table
|
|
1613
|
+
* right - position column with its right edge at the right of the table
|
|
1614
|
+
*/
|
|
1615
|
+
scrollToColumnPosition?: ScrollToColumnPosition;
|
|
1616
|
+
/**
|
|
1617
|
+
* The default option for triggering a ScrollTo on a visible element can be set using the scrollToColumnIfHidden option. It can take a boolean value:
|
|
1618
|
+
*
|
|
1619
|
+
* false - scroll to column, even if it is visible (default)
|
|
1620
|
+
* true - scroll to column, unless it is currently visible, then don't move
|
|
1621
|
+
*/
|
|
1622
|
+
scrollToColumnIfHidden?: boolean;
|
|
1623
|
+
/**
|
|
1624
|
+
* By default column calculations are shown at the top and bottom of the table, unless row grouping is enabled, in which case they are shown at the top and bottom of each group.
|
|
1625
|
+
*
|
|
1626
|
+
* The columnCalcs option lets you decided where the calculations should be displayed, it can take one of four values:
|
|
1627
|
+
*
|
|
1628
|
+
* true - show calcs at top and bottom of the table, unless grouped, then show in groups (boolean, default)
|
|
1629
|
+
* both - show calcs at top and bottom of the table and show in groups
|
|
1630
|
+
* table - show calcs at top and bottom of the table only
|
|
1631
|
+
* group - show calcs in groups only
|
|
1632
|
+
*/
|
|
1633
|
+
columnCalcs?: boolean | 'both' | 'table' | 'group';
|
|
1634
|
+
/**
|
|
1635
|
+
* If you need to use the . character as part of your field name, you can change the separator to any other character using the nestedFieldSeparator option
|
|
1636
|
+
* Set to false to disable nested data parsing
|
|
1637
|
+
*/
|
|
1638
|
+
nestedFieldSeparator?: string | boolean;
|
|
1639
|
+
/** multiple or single column sorting */
|
|
1640
|
+
columnHeaderSortMulti?: boolean;
|
|
1641
|
+
/** By setting the headerHidden option to true you can hide the column headers and present the table as a simple list if needed. */
|
|
1642
|
+
headerHidden?: boolean;
|
|
1643
|
+
/** The headerSort option can now be set in the table options to affect all columns as well as in column definitions. */
|
|
1644
|
+
headerSort?: boolean;
|
|
1645
|
+
headerSortElement?: string | ((column: IColumnComponent, dir: SortDirection) => any);
|
|
1646
|
+
columnDefaults?: Partial<ColumnDefinition>;
|
|
1647
|
+
/** When the resizableColumnFit table definition option is set to true, when you resize a column, its adjacent column is resized in the opposite direction to keep the total width of the columns the same. */
|
|
1648
|
+
resizableColumnFit?: boolean;
|
|
1649
|
+
}
|
|
1650
|
+
export interface OptionsGeneral {
|
|
1651
|
+
/** Sets the height of the containing element, can be set to any valid height css value. If set to false (the default), the height of the table will resize to fit the table data. */
|
|
1652
|
+
height?: string | number | false;
|
|
1653
|
+
/** Can be set to any valid CSS value. By setting this you can allow your table to expand to fit the data, but not overflow its parent element. When there are too many rows to fit in the available space, the vertical scroll bar will be shown. This has the added benefit of improving load times on larger tables */
|
|
1654
|
+
maxHeight?: string | number | boolean;
|
|
1655
|
+
/** With a variable table height you can set the minimum height of the table either defined in the min-height CSS property for the element or set it using the minHeight option in the table constructor, this can be set to any valid CSS value. */
|
|
1656
|
+
minHeight?: string | number | boolean;
|
|
1657
|
+
renderVertical?: RenderMode;
|
|
1658
|
+
renderHorizontal?: RenderMode;
|
|
1659
|
+
rowHeight?: number;
|
|
1660
|
+
/** Manually set the size of the virtual DOM buffer. */
|
|
1661
|
+
renderVerticalBuffer?: boolean | number;
|
|
1662
|
+
/** placeholder element to display on empty table. */
|
|
1663
|
+
placeholder?: string | HTMLElement | ((this: ITabulator | ITabulatorFull) => string);
|
|
1664
|
+
placeholderHeaderFilter?: string | HTMLElement | ((this: ITabulator | ITabulatorFull) => string);
|
|
1665
|
+
/** Footer element to display for the table. */
|
|
1666
|
+
footerElement?: string | HTMLElement;
|
|
1667
|
+
/** Keybinding configuration object. */
|
|
1668
|
+
keybindings?: false | KeyBinding;
|
|
1669
|
+
/**
|
|
1670
|
+
* The reactivity systems allow Tabulator to watch arrays and objects passed into the table for changes and then automatically update the table.
|
|
1671
|
+
*
|
|
1672
|
+
* This approach means you no longer need to worry about calling a number of different functions on the table to make changes, you simply update the array or object you originally passed into the table and Tabulator will take care of the rest.
|
|
1673
|
+
*
|
|
1674
|
+
* You can enable reactive data by setting the reactiveData option to true in the table constructor, and then passing your data array to the data option.
|
|
1675
|
+
*
|
|
1676
|
+
* Once the table is built any changes to the array will automatically be replicated to the table without needing to call any functions on the table itself
|
|
1677
|
+
*/
|
|
1678
|
+
reactiveData?: boolean;
|
|
1679
|
+
/** Tabulator will automatically attempt to redraw the data contained in the table if the containing element for the table is resized. To disable this functionality, set the autoResize property to false. */
|
|
1680
|
+
autoResize?: boolean;
|
|
1681
|
+
/** Setting the invalidOptionWarnings option to false will disable console warning messages for invalid properties in the table constructor and column definition object. */
|
|
1682
|
+
invalidOptionWarnings?: boolean;
|
|
1683
|
+
/**
|
|
1684
|
+
* There are now three different validation modes available to customize the validation experience:
|
|
1685
|
+
*
|
|
1686
|
+
* blocking - if a user enters an invalid value while editing, they are blocked from leaving the cell until a valid value is entered (default)
|
|
1687
|
+
*
|
|
1688
|
+
* highlight - if a user enters an invalid value, then the edit will complete as usual and they are allowed to exit the cell but a highlight is applied to the cell using the tabulator-validation-fail class
|
|
1689
|
+
*
|
|
1690
|
+
* manual - no validation is automatically performed on edit, but it can be triggered by calling the validate function on the table or any Component Object
|
|
1691
|
+
*/
|
|
1692
|
+
validationMode?: 'blocking' | 'highlight' | 'manual';
|
|
1693
|
+
textDirection?: TextDirection;
|
|
1694
|
+
/**
|
|
1695
|
+
* Sometimes it can be useful to add a visual header to the start of a row.
|
|
1696
|
+
* The `rowHeader` option allows you to define a column definition for a stylized header column at the start of the row.
|
|
1697
|
+
*
|
|
1698
|
+
* This can be great for adding row number, movable row handles or row selections, and keeps the controls visually separated from the table data.
|
|
1699
|
+
*/
|
|
1700
|
+
rowHeader?: boolean | {
|
|
1701
|
+
formatter?: Formatter;
|
|
1702
|
+
field?: string;
|
|
1703
|
+
headerSort?: boolean;
|
|
1704
|
+
hozAlign?: ColumnDefinitionAlign;
|
|
1705
|
+
headerHozAlign?: ColumnDefinitionAlign;
|
|
1706
|
+
resizable?: ColumnResizable;
|
|
1707
|
+
frozen?: boolean;
|
|
1708
|
+
titleFormatter?: Formatter;
|
|
1709
|
+
cellClick?: (e: MouseEvent, cell: ICellComponent) => void;
|
|
1710
|
+
minWidth?: number;
|
|
1711
|
+
width?: string | number;
|
|
1712
|
+
rowHandle?: boolean;
|
|
1713
|
+
};
|
|
1714
|
+
/**
|
|
1715
|
+
* The value to set in the cell after the user has finished editing the cell.
|
|
1716
|
+
*/
|
|
1717
|
+
editorEmptyValue?: any;
|
|
1718
|
+
/**
|
|
1719
|
+
* The function to determine if the value is empty.
|
|
1720
|
+
*/
|
|
1721
|
+
editorEmptyValueFunc?: (value: unknown) => boolean;
|
|
1722
|
+
}
|
|
1723
|
+
export interface OptionsSpreadsheet {
|
|
1724
|
+
/**
|
|
1725
|
+
* Enables the spreadsheet mode on the table.
|
|
1726
|
+
*
|
|
1727
|
+
* The SpreadsheetModule must be installed to use this functionality.
|
|
1728
|
+
*/
|
|
1729
|
+
spreadsheet?: boolean;
|
|
1730
|
+
spreadsheetRows?: number;
|
|
1731
|
+
spreadsheetColumns?: number;
|
|
1732
|
+
spreadsheetColumnDefinition?: Partial<ColumnDefinition>;
|
|
1733
|
+
spreadsheetSheets?: SheetDefinition[];
|
|
1734
|
+
spreadsheetSheetTabs?: boolean;
|
|
1735
|
+
spreadsheetData?: unknown[][];
|
|
1736
|
+
spreadsheetOutputFull?: boolean;
|
|
1737
|
+
}
|
|
1738
|
+
export interface SheetDefinition {
|
|
1739
|
+
title?: string;
|
|
1740
|
+
key?: string;
|
|
1741
|
+
rows: number;
|
|
1742
|
+
columns: number;
|
|
1743
|
+
data?: unknown[][];
|
|
1744
|
+
dummy?: number[][];
|
|
1745
|
+
}
|
|
1746
|
+
export type SheetLookup = string | any | ISheetComponent;
|
|
1747
|
+
export interface SpreadsheetComponent {
|
|
1748
|
+
getTitle(): string;
|
|
1749
|
+
setTitle(title: string): void;
|
|
1750
|
+
getKey(): string;
|
|
1751
|
+
getDefinition(): SheetDefinition;
|
|
1752
|
+
setRows(rows: number): void;
|
|
1753
|
+
setColumns(columns: number): void;
|
|
1754
|
+
getData(): unknown[][];
|
|
1755
|
+
setData(data: unknown[][]): void;
|
|
1756
|
+
clear(): void;
|
|
1757
|
+
remove(): void;
|
|
1758
|
+
active(): void;
|
|
1759
|
+
}
|
|
1760
|
+
export type RenderMode = 'virtual' | 'basic' | IRenderer;
|
|
1761
|
+
export interface OptionsMenu {
|
|
1762
|
+
rowContextMenu?: RowContextMenuSignature;
|
|
1763
|
+
rowClickMenu?: RowContextMenuSignature;
|
|
1764
|
+
rowDblClickMenu?: RowContextMenuSignature;
|
|
1765
|
+
groupClickMenu?: GroupContextMenuSignature;
|
|
1766
|
+
groupDblClickMenu?: GroupContextMenuSignature;
|
|
1767
|
+
groupContextMenu?: GroupContextMenuSignature;
|
|
1768
|
+
popupContainer?: boolean | string | HTMLElement;
|
|
1769
|
+
groupClickPopup?: string;
|
|
1770
|
+
groupContextPopup?: string;
|
|
1771
|
+
groupDblPopup?: string;
|
|
1772
|
+
groupDblClickPopup?: string;
|
|
1773
|
+
rowClickPopup?: string;
|
|
1774
|
+
rowContextPopup?: string;
|
|
1775
|
+
rowDblClickPopup?: string;
|
|
1776
|
+
}
|
|
1777
|
+
export type RowContextMenuSignature = Array<MenuObject<IRowComponent> | MenuSeparator> | ((e: MouseEvent, component: IRowComponent) => MenuObject<IRowComponent> | false | any[]);
|
|
1778
|
+
export type GroupContextMenuSignature = Array<MenuObject<IGroupComponent> | MenuSeparator> | ((e: MouseEvent, component: IGroupComponent) => MenuObject<IGroupComponent> | false | any[]);
|
|
1779
|
+
export interface MenuObject<T extends IRowComponent | ICellComponent | IColumnComponent | IGroupComponent> {
|
|
1780
|
+
label: string | HTMLElement | ((component: T) => string | HTMLElement);
|
|
1781
|
+
action?: (e: any, component: T) => any;
|
|
1782
|
+
disabled?: boolean | ((component: T) => boolean);
|
|
1783
|
+
menu?: Array<MenuObject<T>>;
|
|
1784
|
+
}
|
|
1785
|
+
export interface MenuSeparator {
|
|
1786
|
+
separator?: boolean;
|
|
1787
|
+
}
|
|
1788
|
+
export type DownloadType = 'csv' | 'json' | 'xlsx' | 'pdf' | 'html';
|
|
1789
|
+
export interface DownloadOptions extends DownloadCSV, DownloadXLXS, DownloadPDF, DownloadHTML {
|
|
1790
|
+
}
|
|
1791
|
+
export interface DownloadCSV {
|
|
1792
|
+
/** By default CSV files are created using a comma (,) delimiter. If you need to change this for any reason the you can pass the options object with a delimiter property to the download function which will then use this delimiter instead of the comma. */
|
|
1793
|
+
delimiter?: string;
|
|
1794
|
+
/** If you need the output CSV to include a byte order mark (BOM) to ensure that output with UTF-8 characters can be correctly interpreted across different applications, you should set the bom option to true. */
|
|
1795
|
+
bom?: boolean;
|
|
1796
|
+
}
|
|
1797
|
+
export interface DownloadHTML {
|
|
1798
|
+
/** By default the HTML output is a simple un-styled table. if you would like to match the current table styling you can set the style property to true. */
|
|
1799
|
+
style?: boolean;
|
|
1800
|
+
}
|
|
1801
|
+
export interface DownloadXLXS {
|
|
1802
|
+
/** The sheet name must be a valid Excel sheet name, and cannot include any of the following characters \, /, *, [, ], :, */
|
|
1803
|
+
sheetName?: string;
|
|
1804
|
+
documentProcessing?: (input: any) => any;
|
|
1805
|
+
compress?: boolean;
|
|
1806
|
+
writeOptions?: Record<string, unknown>;
|
|
1807
|
+
test?: Record<string, unknown>;
|
|
1808
|
+
}
|
|
1809
|
+
export interface DownloadPDF {
|
|
1810
|
+
orientation?: 'portrait' | 'landscape';
|
|
1811
|
+
title?: string;
|
|
1812
|
+
rowGroupStyles?: any;
|
|
1813
|
+
rowCalcStyles?: any;
|
|
1814
|
+
jsPDF?: any;
|
|
1815
|
+
autoTable?: Record<string, unknown> | ((doc: any) => any);
|
|
1816
|
+
/** An optional callback documentProcessing can be set on the download config object, that is passed the jsPDF document object after the auto-table creation to allow full customization of the PDF */
|
|
1817
|
+
documentProcessing?: (doc: any) => any;
|
|
1818
|
+
}
|
|
1819
|
+
export interface OptionsDownload {
|
|
1820
|
+
/**
|
|
1821
|
+
* The downloadEncoder callback allows you to intercept the download file data before the users is prompted to save the file.
|
|
1822
|
+
*
|
|
1823
|
+
* The first argument of the function is the file contents returned from the downloader, the second argument is the suggested mime type for the output. The function is should return a blob of the file to be downloaded.
|
|
1824
|
+
*/
|
|
1825
|
+
downloadEncoder?: (fileContents: any, mimeType: string) => Blob | false;
|
|
1826
|
+
/**
|
|
1827
|
+
* By default Tabulator includes column headers, row groups and column calculations in the download output.
|
|
1828
|
+
*
|
|
1829
|
+
* You can choose to remove column headers groups, row groups or column calculations from the output data by setting the values in the downloadConfig option in the table definition:
|
|
1830
|
+
*/
|
|
1831
|
+
downloadConfig?: AdditionalExportOptions;
|
|
1832
|
+
/** By default, only the active rows (rows that have passed filtering) will be included in the download the downloadRowRange option takes a Row Range Lookup value and allows you to choose which rows are included in the download output. */
|
|
1833
|
+
downloadRowRange?: RowRangeLookup;
|
|
1834
|
+
/** If you want to make any changes to the table data before it is parsed into the download file you can pass a mutator function to the downloadDataFormatter callback. */
|
|
1835
|
+
downloadDataFormatter?: (data: any) => any;
|
|
1836
|
+
/**
|
|
1837
|
+
* The downloadReady callback allows you to intercept the download file data before the users is prompted to save the file.
|
|
1838
|
+
*
|
|
1839
|
+
* In order for the download to proceed the downloadReady callback is expected to return a blob of file to be downloaded.
|
|
1840
|
+
*
|
|
1841
|
+
* If you would prefer to abort the download you can return false from this callback. This could be useful for example if you want to send the created file to a server via ajax rather than allowing the user to download the file.
|
|
1842
|
+
*/
|
|
1843
|
+
downloadReady?: (fileContents: any, blob: Blob) => Blob | false;
|
|
1844
|
+
}
|
|
1845
|
+
export interface OptionsHTML {
|
|
1846
|
+
htmlOutputConfig?: AdditionalExportOptions;
|
|
1847
|
+
/**
|
|
1848
|
+
* By Default when a page is printed that includes a Tabulator it will be rendered on the page exactly as the table is drawn. While this ise useful in most cases, some users prefer to have more control over the print output, for example showing all rows of the table, instead of just those visible with the current position of the scroll bar.
|
|
1849
|
+
*
|
|
1850
|
+
* Tabulator provides a print styling mode that will replace the Tabulator with an HTML table for the printout giving you much more control over the look and feel of the table for the print out., to enable this mode, set the printAsHtml option to true in the table constructor.
|
|
1851
|
+
*
|
|
1852
|
+
* This will replace the table (in print outs only) with a simple HTML table with the class tabulator-print-table that you can use to style the table in any way you like.
|
|
1853
|
+
*
|
|
1854
|
+
* It also has the benefit that because it is an HTML table, if it causes a page break your browser will automatically add the column headers in at the top of the next page.
|
|
1855
|
+
*/
|
|
1856
|
+
printAsHtml?: boolean;
|
|
1857
|
+
/**
|
|
1858
|
+
* The HTML table will contain column header groups, row groups, and column calculations.
|
|
1859
|
+
*
|
|
1860
|
+
* You can choose to remove any of these from the output data by setting the values in the printConfig option in the table definition
|
|
1861
|
+
*/
|
|
1862
|
+
printConfig?: AdditionalExportOptions;
|
|
1863
|
+
/** If you want your printed table to be styled to match your Tabulator you can set the printCopyStyle to true, this will copy key layout styling to the printed table. */
|
|
1864
|
+
printStyled?: boolean;
|
|
1865
|
+
/** By default, only the rows currently visible in the Tabulator will be added to the HTML table. For custom row ranges it is also possible to pass a function into the printRowRange option that should return an array of Row Components */
|
|
1866
|
+
printRowRange?: RowRangeLookup | (() => IRowComponent[]);
|
|
1867
|
+
/** You can use the printHeader table setup option to define a header to be displayed when the table is printed. */
|
|
1868
|
+
printHeader?: StandardStringParam;
|
|
1869
|
+
/** You can use the printFooter table setup option to define a footer to be displayed when the table is printed. */
|
|
1870
|
+
printFooter?: StandardStringParam;
|
|
1871
|
+
/** The printFormatter table setup option allows you to carry out any manipulation of the print output before it is displayed to the user for printing. */
|
|
1872
|
+
printFormatter?: (tableHolderElement: any, tableElement: any) => any;
|
|
1873
|
+
groupHeaderDownload?: ((value: any, count: number, data: any, group: IGroupComponent) => string) | Array<(value: any, count: number, data: any) => string>;
|
|
1874
|
+
}
|
|
1875
|
+
export type StandardStringParam = string | HTMLElement | (() => string | HTMLElement);
|
|
1876
|
+
export interface AdditionalExportOptions {
|
|
1877
|
+
columnHeaders?: boolean;
|
|
1878
|
+
columnGroups?: boolean;
|
|
1879
|
+
rowGroups?: boolean;
|
|
1880
|
+
columnCalcs?: boolean;
|
|
1881
|
+
dataTree?: boolean;
|
|
1882
|
+
rowHeaders?: boolean;
|
|
1883
|
+
/** Show only raw unformatted cell values in the clipboard output. */
|
|
1884
|
+
formatCells?: boolean;
|
|
1885
|
+
}
|
|
1886
|
+
export interface OptionsLocale {
|
|
1887
|
+
/** You can set the current local in one of two ways. If you want to set it when the table is created, simply include the locale option in your Tabulator constructor. You can either pass in a string matching one of the language options you have defined, or pass in the boolean true which will cause Tabulator to auto-detect the browsers language settings from the navigator.language object. */
|
|
1888
|
+
locale?: boolean | string;
|
|
1889
|
+
/**
|
|
1890
|
+
* You can store as many languages as you like, creating an object inside the langs object with a property of the locale code for that language. A list of locale codes can be found here.
|
|
1891
|
+
*
|
|
1892
|
+
* At present there are three parts of the table that can be localized, the column headers, the header filter placeholder text and the pagination buttons. To localize the pagination buttons, create a pagination property inside your language object and give it the properties outlined below.
|
|
1893
|
+
*
|
|
1894
|
+
* If you wish you can also localize column titles by adding a columns property to your language object. You should store a property of the field name of the column you wish to change, with a value of its title. Any fields that match this will use this title instead of the one provided by the column definition array.
|
|
1895
|
+
*/
|
|
1896
|
+
langs?: any;
|
|
1897
|
+
}
|
|
1898
|
+
type HistoryAction = 'cellEdit' | 'rowAdd' | 'rowDelete' | 'rowMoved';
|
|
1899
|
+
export interface OptionsHistory {
|
|
1900
|
+
/** Enable user interaction history functionality */
|
|
1901
|
+
history?: boolean;
|
|
1902
|
+
}
|
|
1903
|
+
export interface ColumnLayout {
|
|
1904
|
+
/** title - Required This is the title that will be displayed in the header for this column. */
|
|
1905
|
+
title: string;
|
|
1906
|
+
/** field - Required (not required in icon/button columns) this is the key for this column in the data array. */
|
|
1907
|
+
field?: string;
|
|
1908
|
+
/** hidden - (boolean, default - false) determines if the column is hidden. (see Column Visibility for more details */
|
|
1909
|
+
hidden?: boolean;
|
|
1910
|
+
/** sets the width of this column, this can be set in pixels or as a percentage of total table width (if not set the system will determine the best) */
|
|
1911
|
+
width?: number | string;
|
|
1912
|
+
}
|
|
1913
|
+
export type ColumnResizable = true | false | 'header' | 'cell';
|
|
1914
|
+
export interface ColumnDefinition extends ColumnLayout, CellCallbacks {
|
|
1915
|
+
/** If you want to set the horizontal alignment on a column by column basis, */
|
|
1916
|
+
hozAlign?: ColumnDefinitionAlign;
|
|
1917
|
+
headerHozAlign?: ColumnDefinitionAlign;
|
|
1918
|
+
/** If you want to set the vertical alignment on a column by column basis */
|
|
1919
|
+
vertAlign?: VerticalAlign;
|
|
1920
|
+
/** sets the minimum width of this column, this should be set in pixels */
|
|
1921
|
+
minWidth?: number;
|
|
1922
|
+
/** The widthGrow property should be used on columns without a width property set. The value is used to work out what fraction of the available will be allocated to the column. The value should be set to a number greater than 0, by default any columns with no width set have a widthGrow value of 1 */
|
|
1923
|
+
widthGrow?: number;
|
|
1924
|
+
/** The widthShrink property should be used on columns with a width property set. The value is used to work out how to shrink columns with a fixed width when the table is too narrow to fit in all the columns. The value should be set to a number greater than 0, by default columns with a width set have a widthShrink value of 0, meaning they will not be shrunk if the table gets too narrow, and may cause the horizontal scrollbar to appear. */
|
|
1925
|
+
widthShrink?: number;
|
|
1926
|
+
/** set whether column can be resized by user dragging its edges */
|
|
1927
|
+
resizable?: ColumnResizable;
|
|
1928
|
+
/** You can freeze the position of columns on the left and right of the table using the frozen property in the column definition array. This will keep the column still when the table is scrolled horizontally. */
|
|
1929
|
+
frozen?: boolean;
|
|
1930
|
+
/** an integer to determine when the column should be hidden in responsive mode. */
|
|
1931
|
+
responsive?: number;
|
|
1932
|
+
/**
|
|
1933
|
+
* Sets the on hover tooltip for each cell in this column * * The tooltip parameter can take three different types of value:
|
|
1934
|
+
* - boolean - a value of false disables the tooltip, a value of true sets the tooltip of the cell to its value
|
|
1935
|
+
* - string - a string that will be displayed for all cells in the matching column/table.
|
|
1936
|
+
* - function - a callback function that returns the string for the cell
|
|
1937
|
+
* Note: setting a tooltip value on a column will override the global setting.
|
|
1938
|
+
*/
|
|
1939
|
+
tooltip?: string | GlobalTooltipOption;
|
|
1940
|
+
/** sets css classes on header and cells in this column. (value should be a string containing space separated class names) */
|
|
1941
|
+
cssClass?: string;
|
|
1942
|
+
/** sets the column as a row handle, allowing it to be used to drag movable rows. */
|
|
1943
|
+
rowHandle?: boolean;
|
|
1944
|
+
/** When the getHtml function is called, hide the column from the output. */
|
|
1945
|
+
hideInHtml?: boolean;
|
|
1946
|
+
/**
|
|
1947
|
+
* By default Tabulator will attempt to guess which sorter should be applied to a column based on the data contained in the first row. It can determine sorters for strings, numbers, alphanumeric sequences and booleans, anything else will be treated as a string.
|
|
1948
|
+
* To specify a sorter to be used on a column use the sorter property in the columns definition object
|
|
1949
|
+
*
|
|
1950
|
+
* You can pass an optional additional property with sorter, sorterParams that should contain an object with additional information for configuring the sorter
|
|
1951
|
+
*/
|
|
1952
|
+
sorter?: 'string' | 'number' | 'alphanum' | 'boolean' | 'exists' | 'date' | 'time' | 'datetime' | 'array' | ((a: any, b: any, aRow: IRowComponent, bRow: IRowComponent, column: IColumnComponent, dir: SortDirection, sorterParams: Record<string, unknown>) => number);
|
|
1953
|
+
/** If you want to dynamically generate the sorterParams at the time the sort is called you can pass a function into the property that should return the params object. */
|
|
1954
|
+
sorterParams?: ColumnDefinitionSorterParams | ColumnSorterParamLookupFunction;
|
|
1955
|
+
/** Set how you would like the data to be formatted. */
|
|
1956
|
+
formatter?: Formatter;
|
|
1957
|
+
/** You can pass an optional additional parameter with the formatter, formatterParams that should contain an object with additional information for configuring the formatter. */
|
|
1958
|
+
formatterParams?: FormatterParams;
|
|
1959
|
+
/** alter the row height to fit the contents of the cell instead of hiding overflow */
|
|
1960
|
+
variableHeight?: boolean;
|
|
1961
|
+
/** There are some circumstances where you may want to block edit-ability of a cell for one reason or another. To meet this need you can use the editable option. This lets you set a callback that is executed before the editor is built, if this callback returns true the editor is added, if it returns false the edit is aborted and the cell remains a non editable cell. The function is passed one parameter, the CellComponent of the cell about to be edited. You can also pass a boolean value instead of a function to this property. */
|
|
1962
|
+
editable?: boolean | ((cell: ICellComponent) => boolean);
|
|
1963
|
+
/**
|
|
1964
|
+
* When a user clicks on an editable column the will be able to edit the value for that cell.
|
|
1965
|
+
*
|
|
1966
|
+
* By default Tabulator will use an editor that matches the current formatter for that cell. if you wish to specify a specific editor, you can set them per column using the editor option in the column definition. Passing a value of true to this option will result in Tabulator applying the editor that best matches the columns formatter, if present.
|
|
1967
|
+
*
|
|
1968
|
+
* You can pass an optional additional parameter with the editor, editorParams that should contain an object with additional information for configuring the editor.
|
|
1969
|
+
*/
|
|
1970
|
+
editor?: Editor;
|
|
1971
|
+
/** additional parameters you can pass to the editor. */
|
|
1972
|
+
editorParams?: EditorParams;
|
|
1973
|
+
/**
|
|
1974
|
+
* Validators are used to ensure that any user input into your editable cells matches your requirements.
|
|
1975
|
+
*
|
|
1976
|
+
* Validators can be applied by using the validator property in a columns definition object (see Define Columns for more details).
|
|
1977
|
+
*/
|
|
1978
|
+
validator?: StandardValidatorType | StandardValidatorType[] | Validator | Validator[] | string;
|
|
1979
|
+
/**
|
|
1980
|
+
* Mutators are used to alter data as it is parsed into For example if you wanted to convert a numeric column into a boolean based on its value, before the data is used to build the table.
|
|
1981
|
+
*
|
|
1982
|
+
* You can set mutators on a per column basis using the mutator option in the column definition object.
|
|
1983
|
+
*
|
|
1984
|
+
* You can pass an optional additional parameter with mutator, mutatorParams that should contain an object with additional information for configuring the mutator.
|
|
1985
|
+
*/
|
|
1986
|
+
mutator?: CustomMutator;
|
|
1987
|
+
/** You can pass an optional additional parameter with mutator, mutatorParams that should contain an object with additional information for configuring the mutator. */
|
|
1988
|
+
mutatorParams?: CustomMutatorParams;
|
|
1989
|
+
/** only called when data is loaded via a command {eg. setData). */
|
|
1990
|
+
mutatorData?: CustomMutator;
|
|
1991
|
+
mutatorDataParams?: CustomMutatorParams;
|
|
1992
|
+
/** only called when data is changed via a user editing a cell. */
|
|
1993
|
+
mutatorEdit?: CustomMutator;
|
|
1994
|
+
mutatorEditParams?: CustomMutatorParams;
|
|
1995
|
+
/** only called when data is changed via a user editing a cell. */
|
|
1996
|
+
mutatorClipboard?: CustomMutator;
|
|
1997
|
+
mutatorClipboardParams?: CustomMutatorParams;
|
|
1998
|
+
/**
|
|
1999
|
+
* Accessors are used to alter data as it is extracted from the table, through commands, the clipboard, or download.
|
|
2000
|
+
*
|
|
2001
|
+
* You can set accessors on a per column basis using the accessor option in the column definition object.
|
|
2002
|
+
*/
|
|
2003
|
+
accessor?: CustomAccessor | 'rownum';
|
|
2004
|
+
/** Each accessor function has its own matching params option, for example accessorDownload has accessorDownloadParams. */
|
|
2005
|
+
accessorParams?: CustomAccessorParams;
|
|
2006
|
+
/** only called when data is being converted into a downloadable file. */
|
|
2007
|
+
accessorDownload?: CustomAccessor;
|
|
2008
|
+
/** additional parameters you can pass to the accessorDownload. */
|
|
2009
|
+
accessorDownloadParams?: CustomAccessorParams;
|
|
2010
|
+
/** only called when data is being copied into the clipboard. */
|
|
2011
|
+
accessorClipboard?: CustomAccessor;
|
|
2012
|
+
/** Additional parameters you can pass to the accessorClipboard. */
|
|
2013
|
+
accessorClipboardParams?: CustomAccessorParams;
|
|
2014
|
+
/** show or hide column in downloaded data */
|
|
2015
|
+
download?: boolean | ((column: IColumnComponent) => boolean);
|
|
2016
|
+
/** set custom title for column in download. */
|
|
2017
|
+
titleDownload?: string;
|
|
2018
|
+
/** the column calculation to be displayed at the top of this column(see Column Calculations for more details) */
|
|
2019
|
+
topCalc?: ColumnCalc;
|
|
2020
|
+
/** additional parameters you can pass to the topCalc calculation function (see Column Calculations for more details) */
|
|
2021
|
+
topCalcParams?: ColumnCalcParams;
|
|
2022
|
+
/** Formatter for the topCalc calculation cell. */
|
|
2023
|
+
topCalcFormatter?: Formatter;
|
|
2024
|
+
/** additional parameters you can pass to the topCalcFormatter function. */
|
|
2025
|
+
topCalcFormatterParams?: FormatterParams;
|
|
2026
|
+
bottomCalc?: ColumnCalc;
|
|
2027
|
+
bottomCalcParams?: ColumnCalcParams;
|
|
2028
|
+
bottomCalcFormatter?: Formatter;
|
|
2029
|
+
/** additional parameters you can pass to the bottomCalcFormatter function. */
|
|
2030
|
+
bottomCalcFormatterParams?: FormatterParams;
|
|
2031
|
+
/** By default all columns in a table are sortable by clicking on the column header, if you want to disable this behavior, set the headerSort property to false in the column definition array: */
|
|
2032
|
+
headerSort?: boolean;
|
|
2033
|
+
/** set the starting sort direction when a user first clicks on a header. */
|
|
2034
|
+
headerSortStartingDir?: SortDirection;
|
|
2035
|
+
/** allow tristate toggling of column header sort direction. */
|
|
2036
|
+
headerSortTristate?: boolean;
|
|
2037
|
+
/** Callback for when user clicks on the header for this column. */
|
|
2038
|
+
headerClick?: ColumnEventCallback;
|
|
2039
|
+
/** Callback for when user double clicks on the header for this column. */
|
|
2040
|
+
headerDblClick?: ColumnEventCallback;
|
|
2041
|
+
headerMouseDown?: ColumnEventCallback;
|
|
2042
|
+
headerMouseUp?: ColumnEventCallback;
|
|
2043
|
+
/** Callback for when user right clicks on the header for this column. */
|
|
2044
|
+
headerContext?: ColumnEventCallback;
|
|
2045
|
+
/** callback for when user taps on a header for this column, triggered in touch displays. */
|
|
2046
|
+
headerTap?: ColumnEventCallback;
|
|
2047
|
+
/** callback for when user double taps on a header for this column, triggered in touch displays when a user taps the same header twice in under 300ms */
|
|
2048
|
+
headerDblTap?: ColumnEventCallback;
|
|
2049
|
+
/** callback for when user taps and holds on a header for this column, triggered in touch displays when a user taps and holds the same header for 1 second. */
|
|
2050
|
+
headerTapHold?: ColumnEventCallback;
|
|
2051
|
+
/**
|
|
2052
|
+
* sets the on hover tooltip for the column header* * The tooltip headerTooltip can take three different types of value
|
|
2053
|
+
*
|
|
2054
|
+
* - boolean - a value of false disables the tooltip, a value of true sets the tooltip of the column header to its title value.
|
|
2055
|
+
* - string - a string that will be displayed for the tooltip.
|
|
2056
|
+
* - function - a callback function that returns the string for the column header*
|
|
2057
|
+
*/
|
|
2058
|
+
headerTooltip?: boolean | string | ((column: IColumnComponent) => string);
|
|
2059
|
+
/**
|
|
2060
|
+
* Change the orientation of the column header to vertical* * The headerVertical property can take one of three values:
|
|
2061
|
+
*
|
|
2062
|
+
* - false - vertical columns disabled (default value)
|
|
2063
|
+
* - true - vertical columns enabled
|
|
2064
|
+
* - "flip" - vertical columns enabled, with text direction flipped by 180 degrees*
|
|
2065
|
+
*/
|
|
2066
|
+
headerVertical?: boolean | 'flip';
|
|
2067
|
+
/** allows the user to edit the header titles */
|
|
2068
|
+
editableTitle?: boolean;
|
|
2069
|
+
/** formatter function for header title. */
|
|
2070
|
+
titleFormatter?: Formatter;
|
|
2071
|
+
/** additional parameters you can pass to the header title formatter. */
|
|
2072
|
+
titleFormatterParams?: FormatterParams;
|
|
2073
|
+
/** additional parameters you can pass to the text formatter. */
|
|
2074
|
+
textFormatParams?: TextFormatParams;
|
|
2075
|
+
/** sets css classes on cells in this column. (value should be a string containing space separated class names) */
|
|
2076
|
+
cellClass?: string;
|
|
2077
|
+
/** sets the style of the cells in this column. (value should be an object with CSS properties) */
|
|
2078
|
+
cellStyle?: Record<string, string>;
|
|
2079
|
+
/** filtering of columns from elements in the header. */
|
|
2080
|
+
headerFilter?: Editor;
|
|
2081
|
+
/** additional parameters you can pass to the header filter. */
|
|
2082
|
+
headerFilterParams?: EditorParams;
|
|
2083
|
+
/** placeholder text for the header filter. */
|
|
2084
|
+
headerFilterPlaceholder?: string;
|
|
2085
|
+
/** function to check when the header filter is empty */
|
|
2086
|
+
headerFilterEmptyCheck?: ValueBooleanCallback;
|
|
2087
|
+
/**
|
|
2088
|
+
* By default Tabulator will try and match the comparison type to the type of element used for the header filter.
|
|
2089
|
+
*
|
|
2090
|
+
* Standard input elements will use the "like" filter, this allows for the matches to be displayed as the user types.
|
|
2091
|
+
*
|
|
2092
|
+
* For all other element types (select boxes, check boxes, input elements of type number) an "=" filter type is used.
|
|
2093
|
+
*
|
|
2094
|
+
* If you want to specify the type of filter used you can pass it to the headerFilterFunc option in the column definition object. This will take any of the standard filters outlined above or a custom function
|
|
2095
|
+
*/
|
|
2096
|
+
headerFilterFunc?: FilterType | HeaderFilterFunc;
|
|
2097
|
+
/** additional parameters object passed to the headerFilterFunc function. */
|
|
2098
|
+
headerFilterFuncParams?: any;
|
|
2099
|
+
/** disable live filtering of the table. */
|
|
2100
|
+
headerFilterLiveFilter?: boolean;
|
|
2101
|
+
/** Show/Hide a particular column in the HTML output. */
|
|
2102
|
+
htmlOutput?: boolean | ((column: IColumnComponent) => boolean);
|
|
2103
|
+
/** If you don't want to show a particular column in the clipboard output you can set the clipboard property in its column definition object to false. */
|
|
2104
|
+
clipboard?: boolean | ((column: IColumnComponent) => boolean);
|
|
2105
|
+
/** If you don't want to show a particular column in the print table you can set the print property in its column definition object to false. */
|
|
2106
|
+
print?: boolean | ((column: IColumnComponent) => boolean);
|
|
2107
|
+
/** A column can be a "group" of columns (Example: group header column -> Measurements, grouped column -> Length, Width, Height) */
|
|
2108
|
+
columns?: ColumnDefinition[];
|
|
2109
|
+
/** You can add a menu to any column by passing an array of menu items to the headerMenu option in that columns definition. */
|
|
2110
|
+
headerMenu?: Array<MenuObject<IColumnComponent> | MenuSeparator> | ((e: MouseEvent, component: IColumnComponent) => Array<MenuObject<IColumnComponent> | MenuSeparator>);
|
|
2111
|
+
/** The headerMenuIcon option will accept one of three types of value. You can pass in a string for the HTML contents of the button. Or you can pass the DOM node for the button. Though be careful not to pass the same node to multiple columns or you may run into issues. Or you can define a function that is called when the column header is rendered that should return either an HTML string or the contents of the element. This function is passed the column component as its first argument. */
|
|
2112
|
+
headerMenuIcon?: string | HTMLElement | ((component: IColumnComponent) => HTMLElement | string);
|
|
2113
|
+
/** You can add a right click context menu to any column by passing an array of menu items to the headerContextMenu option in that columns definition. */
|
|
2114
|
+
headerContextMenu?: Array<MenuObject<IColumnComponent> | MenuSeparator>;
|
|
2115
|
+
headerDblClickPopup?: string;
|
|
2116
|
+
dblClickPopup?: string;
|
|
2117
|
+
/** You can add a right click context menu to any columns cells by passing an array of menu items to the contextMenu option in that columns definition. */
|
|
2118
|
+
contextMenu?: Array<MenuObject<ICellComponent> | MenuSeparator>;
|
|
2119
|
+
clickMenu?: Array<MenuObject<ICellComponent> | MenuSeparator>;
|
|
2120
|
+
headerDblClickMenu?: Array<MenuObject<ICellComponent> | MenuSeparator>;
|
|
2121
|
+
dblClickMenu?: Array<MenuObject<ICellComponent> | MenuSeparator>;
|
|
2122
|
+
/** Popups work in a similar way to menus, but instead of only displaying lists of menu items they allow you to fill them with any custom content you like, text, input elements, forms, anything you fancy. */
|
|
2123
|
+
cellPopup?: string | ((e: MouseEvent, component: IRowComponent | ICellComponent | IColumnComponent, onRendered: () => any) => any);
|
|
2124
|
+
/** When copying to the clipboard you may want to apply a different formatter from the one usually used to format the cell, you can do this using the formatterClipboard column definition option. You can use the formatterClipboardParams to pass in any additional params to the formatter. */
|
|
2125
|
+
formatterClipboard?: Formatter | false;
|
|
2126
|
+
formatterClipboardParams?: FormatterParams;
|
|
2127
|
+
/** When printing you may want to apply a different formatter from the one usually used to format the cell, you can do this using the formatterPrint column definition option. You can use the formatterPrintParams to pass in any additional params to the formatter. */
|
|
2128
|
+
formatterPrint?: Formatter | false;
|
|
2129
|
+
formatterPrintParams?: FormatterParams;
|
|
2130
|
+
/** You can use the accessorPrint and accessorPrintParams options on a column definition to alter the value of data in a column before it is printed. */
|
|
2131
|
+
accessorPrint?: CustomAccessor;
|
|
2132
|
+
accessorPrintParams?: CustomAccessorParams;
|
|
2133
|
+
/** You can use the accessorHtmlOutput and accessorHtmlOutputParams options on a column definition to alter the value of data in a column before the html is generated. */
|
|
2134
|
+
accessorHtmlOutput?: CustomAccessor;
|
|
2135
|
+
accessorHtmlOutputParams?: CustomAccessorParams;
|
|
2136
|
+
/** When the getHtml function is called you may want to apply a different formatter from the one usually used to format the cell, you can do this using the formatterHtmlOutput column definition option. */
|
|
2137
|
+
formatterHtmlOutput?: Formatter | false;
|
|
2138
|
+
formatterHtmlOutputParams?: FormatterParams;
|
|
2139
|
+
/** When copying to clipboard you may want to apply a different column header title from the one usually used in the table. You can now do this using the titleClipboard column definition option, which takes the same inputs as the standard title property. */
|
|
2140
|
+
titleClipboard?: string;
|
|
2141
|
+
/** When the getHtml function is called you may want to apply a different column header title from the one usually used in the table. You can now do this using the titleHtmlOutput column definition option, which takes the same inputs as the standard title property. */
|
|
2142
|
+
titleHtmlOutput?: string;
|
|
2143
|
+
/** When printing you may want to apply a different column header title from the one usually used in the table. You can now do this using the titlePrint column definition option, which takes the same inputs as the standard title property. */
|
|
2144
|
+
titlePrint?: string;
|
|
2145
|
+
maxWidth?: number | false;
|
|
2146
|
+
headerWordWrap?: boolean;
|
|
2147
|
+
/**
|
|
2148
|
+
* The value to set in the cell after the user has finished editing the cell.
|
|
2149
|
+
*/
|
|
2150
|
+
editorEmptyValue?: any;
|
|
2151
|
+
/**
|
|
2152
|
+
* The function to determine if the value is empty.
|
|
2153
|
+
*/
|
|
2154
|
+
editorEmptyValueFunc?: (value: unknown) => boolean;
|
|
2155
|
+
}
|
|
2156
|
+
export interface CellCallbacks {
|
|
2157
|
+
/** callback for when user clicks on a cell in this column. */
|
|
2158
|
+
cellClick?: CellEventCallback;
|
|
2159
|
+
/** callback for when user double clicks on a cell in this column. */
|
|
2160
|
+
cellDblClick?: CellEventCallback;
|
|
2161
|
+
/** callback for when user right clicks on a cell in this column. */
|
|
2162
|
+
cellContext?: CellEventCallback;
|
|
2163
|
+
/** callback for when user taps on a cell in this column, triggered in touch displays. */
|
|
2164
|
+
cellTap?: CellEventCallback;
|
|
2165
|
+
/** callback for when user double taps on a cell in this column, triggered in touch displays when a user taps the same cell twice in under 300ms. */
|
|
2166
|
+
cellDblTap?: CellEventCallback;
|
|
2167
|
+
/** callback for when user taps and holds on a cell in this column, triggered in touch displays when a user taps and holds the same cell for 1 second. */
|
|
2168
|
+
cellTapHold?: CellEventCallback;
|
|
2169
|
+
/** callback for when the mouse pointer enters a cell */
|
|
2170
|
+
cellMouseEnter?: CellEventCallback;
|
|
2171
|
+
/** callback for when the mouse pointer leaves a cell */
|
|
2172
|
+
cellMouseLeave?: CellEventCallback;
|
|
2173
|
+
/** callback for when the mouse pointer enters a cell or one of its child elements */
|
|
2174
|
+
cellMouseOver?: CellEventCallback;
|
|
2175
|
+
/** callback for when the mouse pointer enters a cell or one of its child elements */
|
|
2176
|
+
cellMouseOut?: CellEventCallback;
|
|
2177
|
+
/** callback for when the mouse pointer moves over a cell. */
|
|
2178
|
+
cellMouseMove?: CellEventCallback;
|
|
2179
|
+
/** callback for when a cell in this column is being edited by the user. */
|
|
2180
|
+
cellEditing?: CellEditEventCallback;
|
|
2181
|
+
/** callback for when a cell in this column has been edited by the user. */
|
|
2182
|
+
cellEdited?: CellEditEventCallback;
|
|
2183
|
+
/** callback for when an edit on a cell in this column is aborted by the user. */
|
|
2184
|
+
cellEditCancelled?: CellEditEventCallback;
|
|
2185
|
+
cellMouseDown?: CellEventCallback;
|
|
2186
|
+
cellMouseUp?: CellEventCallback;
|
|
2187
|
+
}
|
|
2188
|
+
export interface ColumnDefinitionSorterParams {
|
|
2189
|
+
format?: string;
|
|
2190
|
+
locale?: string | boolean;
|
|
2191
|
+
alignEmptyValues?: 'top' | 'bottom';
|
|
2192
|
+
type?: 'length' | 'sum' | 'max' | 'min' | 'avg';
|
|
2193
|
+
}
|
|
2194
|
+
export type GroupValuesArg = any[][];
|
|
2195
|
+
export type TextDirection = 'auto' | 'ltr' | 'rtl';
|
|
2196
|
+
export type GlobalTooltipOption = boolean | ((event: MouseEvent, cell: ICellComponent, onRender: () => void) => string | HTMLElement);
|
|
2197
|
+
export type CustomMutator = (value: any, data: any, type: 'data' | 'edit', mutatorParams: any, cell?: ICellComponent) => any;
|
|
2198
|
+
export type CustomMutatorParams = Record<string, unknown> | ((value: any, data: any, type: 'data' | 'edit', cell?: ICellComponent) => any);
|
|
2199
|
+
export type CustomAccessor = (value: any, data: any, type: 'data' | 'download' | 'clipboard', AccessorParams: any, column?: IColumnComponent, row?: IRowComponent) => any;
|
|
2200
|
+
export type CustomAccessorParams = Record<string, unknown> | ((value: any, data: any, type: 'data' | 'download' | 'clipboard', column?: IColumnComponent, row?: IRowComponent) => any);
|
|
2201
|
+
export type ColumnCalc = 'avg' | 'max' | 'min' | 'sum' | 'concat' | 'count' | 'unique' | ((values: any[], data: any[], calcParams: Record<string, unknown>) => any);
|
|
2202
|
+
export type ColumnCalcParams = {
|
|
2203
|
+
precision: number;
|
|
2204
|
+
} | ((values: any, data: any) => any);
|
|
2205
|
+
export type Formatter = 'plaintext' | 'textarea' | 'html' | 'money' | 'image' | 'datetime' | 'datetimediff' | 'link' | 'tickCross' | 'color' | 'star' | 'traffic' | 'progress' | 'lookup' | 'buttonTick' | 'buttonCross' | 'rownum' | 'handle' | 'rowSelection' | 'responsiveCollapse' | 'toggle' | ((cell: ICellComponent, formatterParams: Record<string, unknown>, onRendered: EmptyCallback) => string | HTMLElement);
|
|
2206
|
+
export type FormatterParams = MoneyParams | ImageParams | LinkParams | DateTimeParams | DateTimeDifferenceParams | TickCrossParams | TrafficParams | ProgressBarParams | StarRatingParams | RowSelectionParams | JSONRecord | ToggleSwitchParams | ((cell: ICellComponent) => Record<string, unknown>);
|
|
2207
|
+
export type TextFormatParams = {
|
|
2208
|
+
getColor?: (cell: any) => string;
|
|
2209
|
+
colorMap?: Record<any, string>;
|
|
2210
|
+
color?: string;
|
|
2211
|
+
};
|
|
2212
|
+
export type Editor = true | 'input' | 'textarea' | 'number' | 'range' | 'tickCross' | 'star' | 'list' | 'date' | 'time' | 'datetime' | ((cell: ICellComponent, onRendered: EmptyCallback, success: ValueBooleanCallback, cancel: ValueVoidCallback, editorParams: Record<string, unknown>) => HTMLElement | false);
|
|
2213
|
+
export type EditorParams = NumberParams | CheckboxParams | ListEditorParams | InputParams | TextAreaParams | DateParams | TimeParams | DateTimeEditorParams | ((cell: ICellComponent) => Record<string, unknown>);
|
|
2214
|
+
export type PopupPosition = ColumnDefinitionAlign | 'top' | 'bottom';
|
|
2215
|
+
export type ScrollToColumnPosition = 'left' | 'center' | 'middle' | 'right';
|
|
2216
|
+
export type ColumnDefinitionAlign = 'left' | 'center' | 'right';
|
|
2217
|
+
export type VerticalAlign = 'top' | 'middle' | 'bottom';
|
|
2218
|
+
export interface MoneyParams {
|
|
2219
|
+
decimal?: string;
|
|
2220
|
+
thousand?: string;
|
|
2221
|
+
symbol?: string;
|
|
2222
|
+
symbolAfter?: boolean;
|
|
2223
|
+
precision?: boolean | number;
|
|
2224
|
+
negativeSign?: string | true;
|
|
2225
|
+
}
|
|
2226
|
+
export interface ImageParams {
|
|
2227
|
+
height?: string;
|
|
2228
|
+
width?: string;
|
|
2229
|
+
urlPrefix?: string;
|
|
2230
|
+
urlSuffix?: string;
|
|
2231
|
+
}
|
|
2232
|
+
export interface LinkParams {
|
|
2233
|
+
labelField?: string;
|
|
2234
|
+
label?: string | ((cell: ICellComponent) => string);
|
|
2235
|
+
urlPrefix?: string;
|
|
2236
|
+
urlField?: string;
|
|
2237
|
+
url?: string | ((cell: ICellComponent) => string);
|
|
2238
|
+
target?: string;
|
|
2239
|
+
download?: boolean;
|
|
2240
|
+
}
|
|
2241
|
+
export interface DateTimeParams {
|
|
2242
|
+
inputFormat?: string;
|
|
2243
|
+
outputFormat?: string;
|
|
2244
|
+
invalidPlaceholder?: true | string | number | ValueStringCallback;
|
|
2245
|
+
timezone?: string;
|
|
2246
|
+
}
|
|
2247
|
+
export interface DateTimeDifferenceParams extends DateTimeParams {
|
|
2248
|
+
date?: any;
|
|
2249
|
+
humanize?: boolean;
|
|
2250
|
+
unit?: 'years' | 'months' | 'weeks' | 'days' | 'hours' | 'minutes' | 'seconds';
|
|
2251
|
+
suffix?: boolean;
|
|
2252
|
+
}
|
|
2253
|
+
export interface TickCrossParams {
|
|
2254
|
+
allowEmpty?: boolean;
|
|
2255
|
+
allowTruthy?: boolean;
|
|
2256
|
+
tickElement?: boolean | string;
|
|
2257
|
+
crossElement?: boolean | string;
|
|
2258
|
+
}
|
|
2259
|
+
export interface TrafficParams {
|
|
2260
|
+
min?: number;
|
|
2261
|
+
max?: number;
|
|
2262
|
+
color?: Color;
|
|
2263
|
+
}
|
|
2264
|
+
export interface ProgressBarParams extends TrafficParams {
|
|
2265
|
+
legend?: string | true | ValueStringCallback;
|
|
2266
|
+
legendColor?: Color;
|
|
2267
|
+
legendAlign?: Align;
|
|
2268
|
+
}
|
|
2269
|
+
export interface StarRatingParams {
|
|
2270
|
+
stars?: number;
|
|
2271
|
+
}
|
|
2272
|
+
export interface RowSelectionParams {
|
|
2273
|
+
rowRange?: RowRangeLookup;
|
|
2274
|
+
}
|
|
2275
|
+
export interface ToggleSwitchParams {
|
|
2276
|
+
size?: number;
|
|
2277
|
+
max?: number;
|
|
2278
|
+
onValue?: string | number;
|
|
2279
|
+
offValue?: string | number;
|
|
2280
|
+
onTruthy?: boolean;
|
|
2281
|
+
onColor?: string;
|
|
2282
|
+
offColor?: string;
|
|
2283
|
+
clickable?: boolean;
|
|
2284
|
+
}
|
|
2285
|
+
export interface SharedEditorParams {
|
|
2286
|
+
elementAttributes?: JSONRecord;
|
|
2287
|
+
/**
|
|
2288
|
+
* Built-in editors based on input elements such as the input, number, textarea and autocomplete editors have the ability to mask the users input to restrict it to match a given pattern.
|
|
2289
|
+
*
|
|
2290
|
+
* This can be set by passing a string to the the mask option in the columns editorParams
|
|
2291
|
+
* Each character in the string passed to the mask option defines what type of character can be entered in that position in the editor.
|
|
2292
|
+
*
|
|
2293
|
+
* - A - Only a letter is valid in this position
|
|
2294
|
+
* - 9 - Only a number is valid in this position
|
|
2295
|
+
* - `*` - Any character is valid in this position
|
|
2296
|
+
*
|
|
2297
|
+
* Any other character - The character in this position must be the same as the mask
|
|
2298
|
+
* For example, a mask string of "AAA-999" would require the user to enter three letters followed by a hyphen followed by three numbers
|
|
2299
|
+
*
|
|
2300
|
+
* If you want to use the characters A, 9 or * as fixed characters then it is possible to change the characters looked for in the mask by using the maskLetterChar, maskNumberChar and maskWildcardChar options in the editorParams
|
|
2301
|
+
*/
|
|
2302
|
+
mask?: string;
|
|
2303
|
+
/** you are using fixed characters in your mask (any character other that A, 9 or *), then you can get the mask to automatically fill in these characters for you as you type by setting the maskAutoFill option in the editorParams to true. */
|
|
2304
|
+
maskAutoFill?: boolean;
|
|
2305
|
+
maskLetterChar?: string;
|
|
2306
|
+
maskNumberChar?: string;
|
|
2307
|
+
maskWildcardChar?: string;
|
|
2308
|
+
}
|
|
2309
|
+
export interface NumberParams extends SharedEditorParams {
|
|
2310
|
+
min?: number;
|
|
2311
|
+
max?: number;
|
|
2312
|
+
step?: number;
|
|
2313
|
+
verticalNavigation?: 'editor' | 'table';
|
|
2314
|
+
/** When the editor is loaded select its text content */
|
|
2315
|
+
selectContents?: boolean;
|
|
2316
|
+
}
|
|
2317
|
+
export interface InputParams extends SharedEditorParams {
|
|
2318
|
+
/** Changes input type to 'search' and shows an 'X' clear button to clear the cell value easily. */
|
|
2319
|
+
search?: boolean;
|
|
2320
|
+
/** When the editor is loaded select its text content */
|
|
2321
|
+
selectContents?: boolean;
|
|
2322
|
+
}
|
|
2323
|
+
export interface TextAreaParams extends SharedEditorParams {
|
|
2324
|
+
verticalNavigation?: 'editor' | 'table' | 'hybrid';
|
|
2325
|
+
/** Allow submission of the value of the editor when the shift and enter keys are pressed together. */
|
|
2326
|
+
shiftEnterSubmit?: boolean;
|
|
2327
|
+
/** When the editor is loaded select its text content */
|
|
2328
|
+
selectContents?: boolean;
|
|
2329
|
+
}
|
|
2330
|
+
type VerticalNavigationOptions = 'editor' | 'table';
|
|
2331
|
+
export interface CheckboxParams extends SharedEditorParams {
|
|
2332
|
+
tristate?: boolean;
|
|
2333
|
+
indeterminateValue?: string;
|
|
2334
|
+
}
|
|
2335
|
+
export interface SharedSelectAutoCompleteEditorParams {
|
|
2336
|
+
defaultValue?: string;
|
|
2337
|
+
sortValuesList?: 'asc' | 'desc';
|
|
2338
|
+
}
|
|
2339
|
+
export interface DateParams extends SharedEditorParams {
|
|
2340
|
+
min?: string;
|
|
2341
|
+
max?: string;
|
|
2342
|
+
format?: string;
|
|
2343
|
+
verticalNavigation?: VerticalNavigationOptions;
|
|
2344
|
+
}
|
|
2345
|
+
export interface TimeParams extends SharedEditorParams {
|
|
2346
|
+
format?: string;
|
|
2347
|
+
verticalNavigation?: VerticalNavigationOptions;
|
|
2348
|
+
}
|
|
2349
|
+
export interface DateTimeEditorParams extends SharedEditorParams {
|
|
2350
|
+
format?: string;
|
|
2351
|
+
verticalNavigation?: VerticalNavigationOptions;
|
|
2352
|
+
}
|
|
2353
|
+
export interface LabelValue {
|
|
2354
|
+
label: string;
|
|
2355
|
+
value: string | number | boolean;
|
|
2356
|
+
}
|
|
2357
|
+
export interface ListEditorParams extends SharedEditorParams, SharedSelectAutoCompleteEditorParams {
|
|
2358
|
+
values?: true | string[] | JSONRecord | string | any[] | LabelValue[];
|
|
2359
|
+
valuesURL?: string;
|
|
2360
|
+
valuesLookup?: RowRangeLookup;
|
|
2361
|
+
valuesLookupField?: string;
|
|
2362
|
+
clearable?: boolean;
|
|
2363
|
+
itemFormatter?: (label: string, value: string, item: any, element: HTMLElement) => string;
|
|
2364
|
+
sort?: SortDirection;
|
|
2365
|
+
emptyValue?: any;
|
|
2366
|
+
maxWidth?: boolean;
|
|
2367
|
+
placeholderLoading?: string;
|
|
2368
|
+
placeholderEmpty?: string;
|
|
2369
|
+
multiselect?: boolean;
|
|
2370
|
+
autocomplete?: boolean;
|
|
2371
|
+
filterFunc?: (term: string, label: string, value: string | number | boolean, item: any) => any;
|
|
2372
|
+
filterRemote?: boolean;
|
|
2373
|
+
filterDelay?: number;
|
|
2374
|
+
allowEmpty?: boolean;
|
|
2375
|
+
listOnEmpty?: boolean;
|
|
2376
|
+
freetext?: boolean;
|
|
2377
|
+
showListOnEmpty?: boolean;
|
|
2378
|
+
verticalNavigation?: 'editor' | 'table' | 'hybrid';
|
|
2379
|
+
}
|
|
2380
|
+
export type ValueStringCallback = (value: any) => string;
|
|
2381
|
+
export type ValueBooleanCallback = (value: any) => boolean;
|
|
2382
|
+
export type ValueVoidCallback = (value: any) => void;
|
|
2383
|
+
export type EmptyCallback = (callback: () => void) => void;
|
|
2384
|
+
export type CellEventCallback = (e: UIEvent, cell: ICellComponent) => void;
|
|
2385
|
+
export type CellEditEventCallback = (cell: ICellComponent) => void;
|
|
2386
|
+
export type ColumnEventCallback = (e: UIEvent, column: IColumnComponent) => void;
|
|
2387
|
+
export type RowEventCallback = (e: UIEvent, row: IRowComponent) => void;
|
|
2388
|
+
export type RowChangedCallback = (row: IRowComponent) => void;
|
|
2389
|
+
export type GroupEventCallback = (e: UIEvent, group: IGroupComponent) => void;
|
|
2390
|
+
export declare enum SortDirection {
|
|
2391
|
+
Asc = "asc",
|
|
2392
|
+
Desc = "desc",
|
|
2393
|
+
None = "none"
|
|
2394
|
+
}
|
|
2395
|
+
export declare enum FilterType {
|
|
2396
|
+
Ends = "ends",
|
|
2397
|
+
Equal = "=",
|
|
2398
|
+
GreaterOrEqual = ">=",
|
|
2399
|
+
GreaterThan = ">",
|
|
2400
|
+
In = "in",
|
|
2401
|
+
Keywords = "keywords",
|
|
2402
|
+
LessOrEqual = "<=",
|
|
2403
|
+
LessThan = "<",
|
|
2404
|
+
Like = "like",
|
|
2405
|
+
NotEqual = "!=",
|
|
2406
|
+
Regex = "regex",
|
|
2407
|
+
Starts = "starts"
|
|
2408
|
+
}
|
|
2409
|
+
export type Color = string | any[] | ValueStringCallback;
|
|
2410
|
+
export type Align = 'center' | 'left' | 'right' | 'justify';
|
|
2411
|
+
export type JSONRecord = Record<string, string | number | boolean>;
|
|
2412
|
+
/**
|
|
2413
|
+
* Tabulator has a wide variety of built in validators:
|
|
2414
|
+
* Note: For a guide to adding your own validators to this list, have a look at the "Extending Tabulator" section.
|
|
2415
|
+
*
|
|
2416
|
+
* Note By default all validators, except the `required` validator will approve any empty value (ie. empty string,
|
|
2417
|
+
* null or undefined). to ensure empty values are rejected you should use the required validator.
|
|
2418
|
+
*
|
|
2419
|
+
* - Required, The required validator allows values that are not null or an empty string
|
|
2420
|
+
* ```javascript
|
|
2421
|
+
* {title:"Example", field:"example", validator:"required"}
|
|
2422
|
+
* ```
|
|
2423
|
+
* - Unique, The unique validator allows values that do not match the value of any other cell in this column
|
|
2424
|
+
* ```javascript
|
|
2425
|
+
* {title:"Example", field:"example", validator:"unique"}
|
|
2426
|
+
* ```
|
|
2427
|
+
* - Integer, The integer validator allows values that are valid integers
|
|
2428
|
+
* ```javascript
|
|
2429
|
+
* {title:"Example", field:"example", validator:"integer"}
|
|
2430
|
+
* ```
|
|
2431
|
+
* - Float, The float validator allows values that are valid floats
|
|
2432
|
+
* ```javascript
|
|
2433
|
+
* {title:"Example", field:"example", validator:"float"}
|
|
2434
|
+
* ```
|
|
2435
|
+
* - Numeric, The numeric validator allows values that are valid numbers
|
|
2436
|
+
* ```javascript
|
|
2437
|
+
* {title:"Example", field:"example", validator:"numeric"}
|
|
2438
|
+
* ```
|
|
2439
|
+
* - String, The string validator allows values that are a non-numeric string
|
|
2440
|
+
* ```javascript
|
|
2441
|
+
* {title:"Example", field:"example", validator:"string"}
|
|
2442
|
+
* ```
|
|
2443
|
+
* - Alphanumeric, The alphanumeric validator allows values that are explicitly numbers and letters with no symbols or spaces
|
|
2444
|
+
* ```javascript
|
|
2445
|
+
* {title:"Example", field:"example", validator:"alphanumeric"}
|
|
2446
|
+
* ```
|
|
2447
|
+
* - Minimum Numeric Value, The min validator allows numeric values that are greater than or equal to parameter
|
|
2448
|
+
* ```javascript
|
|
2449
|
+
* {title:"Example", field:"example", validator:"min:5"} \\value must be greater than or equal to 5
|
|
2450
|
+
* ```
|
|
2451
|
+
* - Maximum Numeric Value, The max validator allows numeric values that are less than or equal to parameter
|
|
2452
|
+
* ```javascript
|
|
2453
|
+
* {title:"Example", field:"example", validator:"max:5"} \\value must be less than or equal to 5
|
|
2454
|
+
* ```
|
|
2455
|
+
* - Minimum String Length, The minLength validator allows string values that have a length greater than or equal to parameter
|
|
2456
|
+
* ```javascript
|
|
2457
|
+
* {title:"minLength", field:"example", validator:"minLength:5"} \\value must have a length greater than or equal to 5
|
|
2458
|
+
* ```
|
|
2459
|
+
* - Maximum String Length, The maxLength validator allows string values that have a length less than or equal to parameter
|
|
2460
|
+
* ```javascript
|
|
2461
|
+
* {title:"Example", field:"example", validator:"maxLength:5"} \\value must have a length less than or equal to 5
|
|
2462
|
+
* ```
|
|
2463
|
+
* - In List, The in validator allows values that match a value from the | delimited string in the parameter
|
|
2464
|
+
* ```javascript
|
|
2465
|
+
* {title:"Example", field:"example", validator:"in:red|green|blue"} \\value must be 'red', 'green' or 'blue'
|
|
2466
|
+
* ```
|
|
2467
|
+
* - Starts With, The starts validator allows string values that start with the parameter (case insensitive)
|
|
2468
|
+
* ```javascript
|
|
2469
|
+
* {title:"Example", field:"example", validator:"starts:bob"} \\value must start with 'bob'
|
|
2470
|
+
* ```
|
|
2471
|
+
* - Ends With, The ends validator allows string values that start with the parameter (case insensitive)
|
|
2472
|
+
* ```javascript
|
|
2473
|
+
* {title:"Example", field:"example", validator:"ends:green"} \\value must end with 'green'
|
|
2474
|
+
* ```
|
|
2475
|
+
* - Regular Expression, The regex validator allows values that match the supplied regex
|
|
2476
|
+
* ```javascript
|
|
2477
|
+
* {title:"Example", field:"example", validator:"regex:\\.com$"} \\allow strings that end in '.com'
|
|
2478
|
+
* ```
|
|
2479
|
+
*/
|
|
2480
|
+
export type StandardValidatorType = 'required' | 'unique' | 'integer' | 'float' | 'numeric' | 'string' | 'alphanumeric';
|
|
2481
|
+
export interface Validator {
|
|
2482
|
+
type: StandardValidatorType | ((cell: ICellComponent, value: any, parameters?: any) => boolean);
|
|
2483
|
+
parameters?: any;
|
|
2484
|
+
}
|
|
2485
|
+
export type ColumnSorterParamLookupFunction = (column: IColumnComponent, dir: SortDirection) => Record<string, unknown>;
|
|
2486
|
+
export type ColumnLookup = IColumn | IColumnComponent | ColumnDefinition | HTMLElement | string;
|
|
2487
|
+
export type RowLookup = IRowComponent | HTMLElement | string | number;
|
|
2488
|
+
export type RowRangeLookup = 'visible' | 'active' | 'selected' | 'all' | 'range' | 'display';
|
|
2489
|
+
export interface KeyBinding {
|
|
2490
|
+
navPrev?: string | boolean;
|
|
2491
|
+
navNext?: string | boolean;
|
|
2492
|
+
navLeft?: string | boolean;
|
|
2493
|
+
navRight?: string | boolean;
|
|
2494
|
+
navUp?: string | boolean;
|
|
2495
|
+
navDown?: string | boolean;
|
|
2496
|
+
undo?: string | boolean;
|
|
2497
|
+
redo?: string | boolean;
|
|
2498
|
+
scrollPageUp?: string | boolean;
|
|
2499
|
+
scrollPageDown?: string | boolean;
|
|
2500
|
+
scrollToStart?: string | boolean;
|
|
2501
|
+
scrollToEnd?: string | boolean;
|
|
2502
|
+
copyToClipboard?: string | boolean;
|
|
2503
|
+
}
|
|
2504
|
+
export interface CalculationComponent {
|
|
2505
|
+
/** The getData function returns the data object for the row. */
|
|
2506
|
+
getData: () => {
|
|
2507
|
+
[key: string]: any;
|
|
2508
|
+
};
|
|
2509
|
+
/** The getElement function returns the DOM node for the row. */
|
|
2510
|
+
getElement: () => HTMLElement;
|
|
2511
|
+
/** The getTable function returns the Tabulator object for the table containing the row. */
|
|
2512
|
+
getTable: () => ITabulator;
|
|
2513
|
+
/** The getCells function returns an array of CellComponent objects, one for each cell in the row. */
|
|
2514
|
+
getCells: () => ICellComponent[];
|
|
2515
|
+
/** The getCell function returns the CellComponent for the specified column from this row. */
|
|
2516
|
+
getCell: (column: IColumnComponent | HTMLElement | string) => ICellComponent;
|
|
2517
|
+
}
|
|
2518
|
+
export interface RangeComponent {
|
|
2519
|
+
/**
|
|
2520
|
+
* You can update the bounds for an existing range using the setBounds function, passing in the Cell Components
|
|
2521
|
+
* for the top-left and bottom-right bounds of the selection:
|
|
2522
|
+
*
|
|
2523
|
+
* @example
|
|
2524
|
+
* var topLeft = table.getRows()[2].getCells()[1];
|
|
2525
|
+
* var bottomRight = table.getRows()[5].getCells()[6];
|
|
2526
|
+
*
|
|
2527
|
+
* range.setBounds(topLeft, bottomRight);
|
|
2528
|
+
*/
|
|
2529
|
+
setBounds: (topLeft: ICellComponent, bottomRight: ICellComponent) => void;
|
|
2530
|
+
/**
|
|
2531
|
+
* You can change the top left start edge of an existing range using the setStartBound function, passing in the
|
|
2532
|
+
* Cell Component for the top left bound of the selection:
|
|
2533
|
+
*
|
|
2534
|
+
* @example
|
|
2535
|
+
* var topLeft = table.getRows()[2].getCells()[1];
|
|
2536
|
+
*
|
|
2537
|
+
* range.setStartBound(topLeft);
|
|
2538
|
+
*/
|
|
2539
|
+
setStartBound: (cell: ICellComponent) => void;
|
|
2540
|
+
/**
|
|
2541
|
+
* You can change the bottom right ending edge of an existing range using the setEndBound function, passing in the
|
|
2542
|
+
* Cell Component for the bottom right bound of the selection:
|
|
2543
|
+
*
|
|
2544
|
+
* @example
|
|
2545
|
+
* var bottomRight = table.getRows()[5].getCells()[6];
|
|
2546
|
+
*
|
|
2547
|
+
* range.setEndBound(bottomRight);
|
|
2548
|
+
*/
|
|
2549
|
+
setEndBound: (cell: ICellComponent) => void;
|
|
2550
|
+
/**
|
|
2551
|
+
* You can remove a range by calling the remove function on the range:
|
|
2552
|
+
*
|
|
2553
|
+
* @example
|
|
2554
|
+
* range.remove();
|
|
2555
|
+
*/
|
|
2556
|
+
remove(): void;
|
|
2557
|
+
/**
|
|
2558
|
+
* You can retrieve the bounding rectangle element for a range by calling the getElement function on the range:
|
|
2559
|
+
*
|
|
2560
|
+
* @example
|
|
2561
|
+
* var element = range.getElement();
|
|
2562
|
+
*/
|
|
2563
|
+
getElement(): unknown;
|
|
2564
|
+
/**
|
|
2565
|
+
* You can retrieve the cell data for a range by calling the getData function on the range:
|
|
2566
|
+
*
|
|
2567
|
+
* ```javascript
|
|
2568
|
+
* var data = range.getData();
|
|
2569
|
+
* ```
|
|
2570
|
+
*
|
|
2571
|
+
* This will return a range data array, which is structured as a series of row data objects with only the props for
|
|
2572
|
+
* cells in that range:
|
|
2573
|
+
*
|
|
2574
|
+
* ```json
|
|
2575
|
+
* [
|
|
2576
|
+
* {color:"green", country:"England", driver:true}, //data for selected cells in first row in range
|
|
2577
|
+
* {color:"red", country:"USA", driver:false}, //data for selected cells in second row in range
|
|
2578
|
+
* {color:"blue", country:"France", driver:true}, //data for selected cells in third row in range
|
|
2579
|
+
* ]
|
|
2580
|
+
* ```
|
|
2581
|
+
*/
|
|
2582
|
+
getData(): unknown;
|
|
2583
|
+
/**
|
|
2584
|
+
* You can clear the value of every cell in a range by calling the clearValues function on the range:
|
|
2585
|
+
*
|
|
2586
|
+
* ```javascript
|
|
2587
|
+
* var data = range.clearValues();
|
|
2588
|
+
* ```
|
|
2589
|
+
* This will set the value of every cell in the range to the value of the selectableRangeClearCellsValue table
|
|
2590
|
+
* option, which is set to undefined by default.
|
|
2591
|
+
*/
|
|
2592
|
+
clearValues(): void;
|
|
2593
|
+
/**
|
|
2594
|
+
* You can retrieve all the Cell Components in a range by calling the getCells function on the range:
|
|
2595
|
+
*
|
|
2596
|
+
* ```javascript
|
|
2597
|
+
* var cells = range.getCells();
|
|
2598
|
+
* ```
|
|
2599
|
+
* This will return a array of Cell Components
|
|
2600
|
+
*/
|
|
2601
|
+
getCells(): ICellComponent[];
|
|
2602
|
+
/**
|
|
2603
|
+
* You can retrieve a structured map of all the Cell Components in a range by calling the getStructuredCells
|
|
2604
|
+
* function on the range:
|
|
2605
|
+
*
|
|
2606
|
+
* ```javascript
|
|
2607
|
+
* var cells = range.getStructuredCells();
|
|
2608
|
+
* ```
|
|
2609
|
+
* This will return a array of row arrays, with each row array containing the Cell Components in order for that row:
|
|
2610
|
+
*
|
|
2611
|
+
* ```json
|
|
2612
|
+
* [
|
|
2613
|
+
* [Component, Component, Component], //first row
|
|
2614
|
+
* [Component, Component, Component], //second row
|
|
2615
|
+
* [Component, Component, Component], //third row
|
|
2616
|
+
* ]
|
|
2617
|
+
* ```
|
|
2618
|
+
*/
|
|
2619
|
+
getStructuredCells(): ICellComponent[][];
|
|
2620
|
+
/**
|
|
2621
|
+
* You can retrieve all the Row Components in a range by calling the getRows function on the range:
|
|
2622
|
+
*
|
|
2623
|
+
* ```javascript
|
|
2624
|
+
* var rows = range.getRows();
|
|
2625
|
+
* ```
|
|
2626
|
+
* This will return a array of Row Components
|
|
2627
|
+
*/
|
|
2628
|
+
getRows(): IRowComponent[];
|
|
2629
|
+
/**
|
|
2630
|
+
* You can retrieve all the Column Components in a range by calling the getColumns function on the range:
|
|
2631
|
+
*
|
|
2632
|
+
* ```javascript
|
|
2633
|
+
* var columns = range.getColumns();
|
|
2634
|
+
* ```
|
|
2635
|
+
* This will return a array of Column Components
|
|
2636
|
+
*/
|
|
2637
|
+
getColumns(): IColumnComponent[];
|
|
2638
|
+
/**
|
|
2639
|
+
* You can retrieve the bounds of a range by calling the getBounds function on the range:
|
|
2640
|
+
*
|
|
2641
|
+
* ```javascript
|
|
2642
|
+
* var bounds = range.getBounds();
|
|
2643
|
+
* ```
|
|
2644
|
+
* This will return an object containing two Cell Components, for the two bounds of the range
|
|
2645
|
+
*
|
|
2646
|
+
* ```json
|
|
2647
|
+
* {
|
|
2648
|
+
* start:Component, //the cell component at the top left of the range
|
|
2649
|
+
* end:Component, //the cell component at the bottom right of the range
|
|
2650
|
+
* }
|
|
2651
|
+
* ```
|
|
2652
|
+
*/
|
|
2653
|
+
getBounds(): {
|
|
2654
|
+
start: ICellComponent;
|
|
2655
|
+
end: ICellComponent;
|
|
2656
|
+
};
|
|
2657
|
+
/**
|
|
2658
|
+
* You can find the position number for the top row of the range by calling the getTopEdge function on the range:
|
|
2659
|
+
*
|
|
2660
|
+
* @example
|
|
2661
|
+
* var topPosition = range.getTopEdge();
|
|
2662
|
+
*/
|
|
2663
|
+
getTopEdge(): number;
|
|
2664
|
+
/**
|
|
2665
|
+
* You can find the position number for the bottom row of the range by calling the getBottomEdge function on the range:
|
|
2666
|
+
*
|
|
2667
|
+
* @example
|
|
2668
|
+
* var bottomPosition = range.getBottomEdge();
|
|
2669
|
+
*/
|
|
2670
|
+
getBottomEdge(): number;
|
|
2671
|
+
/**
|
|
2672
|
+
* You can find the position number for the left column of the range by calling the getLeftEdge function on the range:
|
|
2673
|
+
*
|
|
2674
|
+
* @example
|
|
2675
|
+
* var leftPosition = range.getLeftEdge();
|
|
2676
|
+
*/
|
|
2677
|
+
getLeftEdge(): number;
|
|
2678
|
+
/**
|
|
2679
|
+
* You can find the position number for the right column of the range by calling the getRightEdge function on the range:
|
|
2680
|
+
*
|
|
2681
|
+
* @example
|
|
2682
|
+
* var rightPosition = range.getRightEdge();
|
|
2683
|
+
*/
|
|
2684
|
+
getRightEdge(): number;
|
|
2685
|
+
}
|
|
2686
|
+
export interface EventCallBackMethods {
|
|
2687
|
+
validationFailed: (cell: ICellComponent, value: any, validators: Validator[]) => void;
|
|
2688
|
+
scrollHorizontal: (left: number, leftDir: boolean) => void;
|
|
2689
|
+
scrollVertical: (top: number, topDir: boolean) => void;
|
|
2690
|
+
rowAdded: (row: IRowComponent) => void;
|
|
2691
|
+
rowDeleted: (row: IRowComponent) => void;
|
|
2692
|
+
rowMoving: (row: IRowComponent) => void;
|
|
2693
|
+
rowMoved: (row: IRowComponent) => void;
|
|
2694
|
+
rowMoveCancelled: (row: IRowComponent) => void;
|
|
2695
|
+
rowUpdated: (row: IRowComponent) => void;
|
|
2696
|
+
rowSelectionChanged: (data: any[], rows: IRowComponent[], selectedRows: IRowComponent[], deselectedRows: IRowComponent[]) => void;
|
|
2697
|
+
rowSelected: (row: IRowComponent) => void;
|
|
2698
|
+
rowDeselected: (row: IRowComponent) => void;
|
|
2699
|
+
rowResized: (row: IRowComponent) => void;
|
|
2700
|
+
rowClick: (event: UIEvent, row: IRowComponent) => void;
|
|
2701
|
+
rowDblClick: (event: UIEvent, row: IRowComponent) => void;
|
|
2702
|
+
rowContext: (event: UIEvent, row: IRowComponent) => void;
|
|
2703
|
+
rowTap: (event: UIEvent, row: IRowComponent) => void;
|
|
2704
|
+
rowDblTap: (event: UIEvent, row: IRowComponent) => void;
|
|
2705
|
+
rowTapHold: (event: UIEvent, row: IRowComponent) => void;
|
|
2706
|
+
rowMouseEnter: (event: UIEvent, row: IRowComponent) => void;
|
|
2707
|
+
rowMouseLeave: (event: UIEvent, row: IRowComponent) => void;
|
|
2708
|
+
rowMouseOver: (event: UIEvent, row: IRowComponent) => void;
|
|
2709
|
+
rowMouseDown: (event: UIEvent, row: IRowComponent) => void;
|
|
2710
|
+
rowMouseUp: (event: UIEvent, row: IRowComponent) => void;
|
|
2711
|
+
rowMouseOut: (event: UIEvent, row: IRowComponent) => void;
|
|
2712
|
+
rowMouseMove: (event: UIEvent, row: IRowComponent) => void;
|
|
2713
|
+
htmlImporting: () => void;
|
|
2714
|
+
htmlImported: () => void;
|
|
2715
|
+
ajaxError: () => void;
|
|
2716
|
+
clipboardCopied: (clipboard: string, html?: string) => void;
|
|
2717
|
+
clipboardPasted: (clipboard: string, rowData: any[], rows: IRowComponent[]) => void;
|
|
2718
|
+
clipboardPasteError: (clipboard: string) => void;
|
|
2719
|
+
downloadComplete: () => void;
|
|
2720
|
+
dataTreeRowExpanded: (row: IRowComponent, level: number) => void;
|
|
2721
|
+
dataTreeRowCollapsed: (row: IRowComponent, level: number) => void;
|
|
2722
|
+
pageLoaded: (pageNo: number) => void;
|
|
2723
|
+
pageSizeChanged: (pageSize: number) => void;
|
|
2724
|
+
headerClick: (event: UIEvent, column: IColumnComponent) => void;
|
|
2725
|
+
headerDblClick: (event: UIEvent, column: IColumnComponent) => void;
|
|
2726
|
+
headerContext: (event: UIEvent, column: IColumnComponent) => void;
|
|
2727
|
+
headerTap: (event: UIEvent, column: IColumnComponent) => void;
|
|
2728
|
+
headerDblTap: (event: UIEvent, column: IColumnComponent) => void;
|
|
2729
|
+
headerTapHold: (event: UIEvent, column: IColumnComponent) => void;
|
|
2730
|
+
headerMouseUp: (event: UIEvent, column: IColumnComponent) => void;
|
|
2731
|
+
headerMouseDown: (event: UIEvent, column: IColumnComponent) => void;
|
|
2732
|
+
groupClick: (event: UIEvent, group: IGroupComponent) => void;
|
|
2733
|
+
groupDblClick: (event: UIEvent, group: IGroupComponent) => void;
|
|
2734
|
+
groupContext: (event: UIEvent, group: IGroupComponent) => void;
|
|
2735
|
+
groupTap: (event: UIEvent, group: IGroupComponent) => void;
|
|
2736
|
+
groupDblTap: (event: UIEvent, group: IGroupComponent) => void;
|
|
2737
|
+
groupTapHold: (event: UIEvent, group: IGroupComponent) => void;
|
|
2738
|
+
groupMouseDown: (event: UIEvent, group: IGroupComponent) => void;
|
|
2739
|
+
groupMouseUp: (event: UIEvent, group: IGroupComponent) => void;
|
|
2740
|
+
tableBuilding: () => void;
|
|
2741
|
+
tableBuilt: () => void;
|
|
2742
|
+
tableDestroyed: () => void;
|
|
2743
|
+
dataChanged: (data: any[]) => void;
|
|
2744
|
+
dataLoading: (data: any[]) => void;
|
|
2745
|
+
dataLoaded: (data: any[]) => void;
|
|
2746
|
+
dataLoadError: (error: Error) => void;
|
|
2747
|
+
dataProcessing: (data: any[]) => void;
|
|
2748
|
+
dataProcessed: (data: any[]) => void;
|
|
2749
|
+
dataFiltering: (filters: Filter[]) => void;
|
|
2750
|
+
dataFiltered: (filters: Filter[], rows: IRowComponent[]) => void;
|
|
2751
|
+
dataSorting: (sorters: SorterFromTable[]) => void;
|
|
2752
|
+
dataSorted: (sorters: SorterFromTable[], rows: IRowComponent[]) => void;
|
|
2753
|
+
movableRowsSendingStart: (toTables: any[]) => void;
|
|
2754
|
+
movableRowsSent: (fromRow: IRowComponent, toRow: IRowComponent, toTable: any) => void;
|
|
2755
|
+
movableRowsSentFailed: (fromRow: IRowComponent, toRow: IRowComponent, toTable: any) => void;
|
|
2756
|
+
movableRowsSendingStop: (toTables: any[]) => void;
|
|
2757
|
+
movableRowsReceivingStart: (fromRow: IRowComponent, fromTable: ITabulator) => void;
|
|
2758
|
+
movableRowsReceived: (fromRow: IRowComponent, toRow: IRowComponent, fromTable: any) => void;
|
|
2759
|
+
movableRowsReceivedFailed: (fromRow: IRowComponent, toRow: IRowComponent, fromTable: any) => void;
|
|
2760
|
+
movableRowsReceivingStop: (fromTable: any) => void;
|
|
2761
|
+
movableRowsElementDrop: (event: UIEvent, element: Element, row: IRowComponent) => void;
|
|
2762
|
+
dataGrouping: () => void;
|
|
2763
|
+
dataGrouped: (groups: IGroupComponent[]) => void;
|
|
2764
|
+
groupVisibilityChanged: (group: IGroupComponent, visible: boolean) => void;
|
|
2765
|
+
localized: (locale: string, lang: any) => void;
|
|
2766
|
+
renderStarted: () => void;
|
|
2767
|
+
renderComplete: () => void;
|
|
2768
|
+
columnMoved: (column: IColumnComponent, columns: IColumnComponent[]) => void;
|
|
2769
|
+
columnResized: (column: IColumnComponent) => void;
|
|
2770
|
+
columnTitleChanged: (column: IColumnComponent) => void;
|
|
2771
|
+
columnVisibilityChanged: (column: IColumnComponent, visible: boolean) => void;
|
|
2772
|
+
historyUndo: (action: HistoryAction, component: any, data: any[]) => void;
|
|
2773
|
+
historyRedo: (action: HistoryAction, component: any, data: any[]) => void;
|
|
2774
|
+
cellEditing: (cell: ICellComponent) => void;
|
|
2775
|
+
cellEdited: (cell: ICellComponent) => void;
|
|
2776
|
+
cellEditCancelled: (cell: ICellComponent) => void;
|
|
2777
|
+
cellClick: (event: UIEvent, cell: ICellComponent) => void;
|
|
2778
|
+
cellDblClick: (event: UIEvent, cell: ICellComponent) => void;
|
|
2779
|
+
cellContext: (event: UIEvent, cell: ICellComponent) => void;
|
|
2780
|
+
cellMouseDown: (event: UIEvent, cell: ICellComponent) => void;
|
|
2781
|
+
cellMouseUp: (event: UIEvent, cell: ICellComponent) => void;
|
|
2782
|
+
cellTap: (event: UIEvent, cell: ICellComponent) => void;
|
|
2783
|
+
cellDblTap: (event: UIEvent, cell: ICellComponent) => void;
|
|
2784
|
+
cellTapHold: (event: UIEvent, cell: ICellComponent) => void;
|
|
2785
|
+
cellMouseEnter: (event: UIEvent, cell: ICellComponent) => void;
|
|
2786
|
+
cellMouseLeave: (event: UIEvent, cell: ICellComponent) => void;
|
|
2787
|
+
cellMouseOver: (event: UIEvent, cell: ICellComponent) => void;
|
|
2788
|
+
cellMouseOut: (event: UIEvent, cell: ICellComponent) => void;
|
|
2789
|
+
cellMouseMove: (event: UIEvent, cell: ICellComponent) => void;
|
|
2790
|
+
popupOpen: (cell: ICellComponent) => void;
|
|
2791
|
+
popupClosed: (cell: ICellComponent) => void;
|
|
2792
|
+
menuClosed: (cell: ICellComponent) => void;
|
|
2793
|
+
menuOpened: (cell: ICellComponent) => void;
|
|
2794
|
+
tooltipClosed: (cell: ICellComponent) => void;
|
|
2795
|
+
tooltipOpened: (cell: ICellComponent) => void;
|
|
2796
|
+
/**
|
|
2797
|
+
* The range component provides access to a selected range of cells. The example below shows how it is passed to
|
|
2798
|
+
* the rangeAdded callback
|
|
2799
|
+
*
|
|
2800
|
+
* ```javascript
|
|
2801
|
+
* table.on("rangeAdded", function(range) {
|
|
2802
|
+
* // range - range component for the selected range
|
|
2803
|
+
* alert("The user has selected a new range containing " + range.getCells().length + " cells");
|
|
2804
|
+
* });
|
|
2805
|
+
* ```
|
|
2806
|
+
*/
|
|
2807
|
+
rangeAdded: (range: RangeComponent) => void;
|
|
2808
|
+
/**
|
|
2809
|
+
* The rangeChanged event is triggered when a the bounds of an existing range are changed.
|
|
2810
|
+
* ```javascript
|
|
2811
|
+
* table.on("rangeChanged", function(range){
|
|
2812
|
+
* // range - range component for the selected range
|
|
2813
|
+
* });
|
|
2814
|
+
* ```
|
|
2815
|
+
*/
|
|
2816
|
+
rangeChanged: (range: RangeComponent) => void;
|
|
2817
|
+
/**
|
|
2818
|
+
* The rangeRemoved event is triggered when a range is removed from the table.
|
|
2819
|
+
* ```javascript
|
|
2820
|
+
* table.on("rangeRemoved", function(range){
|
|
2821
|
+
* // range - range component for the selected range
|
|
2822
|
+
* });
|
|
2823
|
+
* ```
|
|
2824
|
+
*/
|
|
2825
|
+
rangeRemoved: (range: RangeComponent) => void;
|
|
2826
|
+
/**
|
|
2827
|
+
* The rowHeight event will be triggered when the width of a row is set or changed.
|
|
2828
|
+
*/
|
|
2829
|
+
rowHeight: (row: IRowComponent) => void;
|
|
2830
|
+
/**
|
|
2831
|
+
* The rowResizing event will be triggered when a row has started to be resized by the user.
|
|
2832
|
+
*/
|
|
2833
|
+
rowResizing: (row: IRowComponent) => void;
|
|
2834
|
+
/**
|
|
2835
|
+
* The columnWidth event will be triggered when the width of a column is set or changed.
|
|
2836
|
+
*/
|
|
2837
|
+
columnWidth: (column: IColumnComponent) => void;
|
|
2838
|
+
/**
|
|
2839
|
+
* The columnResizing event will be triggered when a column has started to be resized by the user.
|
|
2840
|
+
*/
|
|
2841
|
+
columnResizing: (column: IColumnComponent) => void;
|
|
2842
|
+
sheetAdded: (sheet: ISheetComponent) => void;
|
|
2843
|
+
sheetLoaded: (sheet: ISheetComponent) => void;
|
|
2844
|
+
sheetUpdated: (sheet: ISheetComponent) => void;
|
|
2845
|
+
sheetRemoved: (sheet: ISheetComponent) => void;
|
|
2846
|
+
/**
|
|
2847
|
+
* The columnsLoaded event is triggered when the replacement of the columns is complete.
|
|
2848
|
+
* An array of column components is passed as the first argument of the callback.
|
|
2849
|
+
*/
|
|
2850
|
+
columnsLoaded: (columns: IColumnComponent[]) => void;
|
|
2851
|
+
/**
|
|
2852
|
+
* The importChoose event is triggered the import function is called and the file picker modal opens.
|
|
2853
|
+
*/
|
|
2854
|
+
importChoose: () => void;
|
|
2855
|
+
/**
|
|
2856
|
+
* The importImporting event is triggered after the user has chosen the file to import, but before it has been processed.
|
|
2857
|
+
* The file array returned from the file pickers is passed as the first argument of the callback.
|
|
2858
|
+
*/
|
|
2859
|
+
importImporting: (files: File[]) => void;
|
|
2860
|
+
/**
|
|
2861
|
+
* The importError event is triggered if there is an error importing the data from the file.
|
|
2862
|
+
* The thrown error is passes as the first argument of the callback.
|
|
2863
|
+
*/
|
|
2864
|
+
importError: (err: unknown) => void;
|
|
2865
|
+
/**
|
|
2866
|
+
* The importImported event is triggered when the data has been successfully parsed from the file, just before it is then loaded into the table.
|
|
2867
|
+
* The parsed array of row data objects is passed as the first argument of the callback..
|
|
2868
|
+
*/
|
|
2869
|
+
importImported: (data: unknown) => void;
|
|
2870
|
+
}
|
|
2871
|
+
export interface IHoverMenu extends IModule {
|
|
2872
|
+
hoverMenuField: string;
|
|
2873
|
+
handleRowMouseEnter(e: Event, row: IRowComponent): void;
|
|
2874
|
+
handleRowMouseLeave(e: Event, row: IRowComponent): void;
|
|
2875
|
+
layoutRow(row: IRowComponent): void;
|
|
2876
|
+
}
|
|
2877
|
+
export interface IPage extends IModule {
|
|
2878
|
+
paginationElement: any;
|
|
2879
|
+
element: HTMLElement | null;
|
|
2880
|
+
size: number | true;
|
|
2881
|
+
page: number;
|
|
2882
|
+
count: number;
|
|
2883
|
+
max: number;
|
|
2884
|
+
remoteRowCountEstimate: number | null;
|
|
2885
|
+
initialLoad: boolean;
|
|
2886
|
+
progressiveLoad: boolean;
|
|
2887
|
+
dataChanging: boolean;
|
|
2888
|
+
pageSizes: number[];
|
|
2889
|
+
mode: 'remote' | 'local' | 'progressive_load' | 'progressive_scroll';
|
|
2890
|
+
setMaxPage(max: string | number): void;
|
|
2891
|
+
setPage(page: string | number): Promise<unknown> | undefined;
|
|
2892
|
+
setPageToRow(row: any): Promise<unknown> | undefined;
|
|
2893
|
+
setPageSize(size: number | true | string): void;
|
|
2894
|
+
getPageSize(): number | true;
|
|
2895
|
+
previousPage(): Promise<unknown>;
|
|
2896
|
+
nextPage(): Promise<unknown>;
|
|
2897
|
+
getPage(): number;
|
|
2898
|
+
getPageMax(): number;
|
|
2899
|
+
getMode(): 'remote' | 'local' | 'progressive_load' | 'progressive_scroll';
|
|
2900
|
+
}
|
|
2901
|
+
export interface IFilter extends IModule {
|
|
2902
|
+
filterList: Filter[];
|
|
2903
|
+
headerFilters: Record<string, {
|
|
2904
|
+
func: (data: any) => boolean;
|
|
2905
|
+
type: FilterType | ((data: any) => boolean);
|
|
2906
|
+
value: any;
|
|
2907
|
+
}>;
|
|
2908
|
+
headerFilterColumns: IColumn[];
|
|
2909
|
+
changed: boolean;
|
|
2910
|
+
tableInitialized: boolean;
|
|
2911
|
+
setFilter(field: string | string[] | Filter[] | FilterFunction, type?: FilterType, value?: any, params?: FilterParams): void;
|
|
2912
|
+
addFilter(field: string | Filter[], type?: FilterType, value?: any, params?: FilterParams): void;
|
|
2913
|
+
removeFilter(field: string | Filter[], type?: FilterType, value?: any): void;
|
|
2914
|
+
getFilters(all?: boolean, ajax?: boolean): Filter[];
|
|
2915
|
+
getHeaderFilters(): Filter[];
|
|
2916
|
+
clearFilter(all?: boolean): void;
|
|
2917
|
+
clearHeaderFilter(): void;
|
|
2918
|
+
refreshFilter(): void;
|
|
2919
|
+
searchRows(field: string | Filter[], type?: FilterType, value?: any): any[];
|
|
2920
|
+
searchData(field: string | Filter[], type?: FilterType, value?: any): any[];
|
|
2921
|
+
setHeaderFilterFocus(column: IColumn): void;
|
|
2922
|
+
getHeaderFilterValue(column: IColumn): any;
|
|
2923
|
+
setHeaderFilterValue(column: IColumn, value: any): void;
|
|
2924
|
+
reloadHeaderFilter(column: IColumn): void;
|
|
2925
|
+
}
|
|
2926
|
+
export interface HeaderFilterFunc {
|
|
2927
|
+
(headerValue: any, rowValue: any, rowData: any, filterParams: any): boolean;
|
|
2928
|
+
}
|
|
2929
|
+
export type LangObject = Record<string, any>;
|
|
2930
|
+
export type TableSelector = string | HTMLElement | ITabulator | TableSelector[];
|
|
2931
|
+
export {};
|