@alfadocs/ui-kit 1.114.0 → 1.115.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_chunks/{actions-cell-renderer-BVn3vDTg.js → actions-cell-renderer-bI27uXXC.js} +2 -2
- package/dist/_chunks/{ai-permission-notice-BkgcGmu8.js → ai-permission-notice-C-xR2_iS.js} +2 -2
- package/dist/_chunks/{alia-sidebar-CKkg3gc8.js → alia-sidebar-BBxbMRmX.js} +2 -2
- package/dist/_chunks/{anamnesis-summary-rows-DaS-j8Jd.js → anamnesis-summary-rows-BZ36ULQk.js} +4 -4
- package/dist/_chunks/{antenatal-schedule-timeline-DmlXxevC.js → antenatal-schedule-timeline-va9zx7tJ.js} +11 -11
- package/dist/_chunks/{appointment-card-FKOnH1uJ.js → appointment-card-D_-aBrx5.js} +2 -2
- package/dist/_chunks/{appointment-timeline-eOi-y8m3.js → appointment-timeline-DxLu3afn.js} +3 -3
- package/dist/_chunks/{appointment-tray-C6oBvsG5.js → appointment-tray-BhXOJpIJ.js} +2 -2
- package/dist/_chunks/{ar-C4YQVTH6.js → ar-BFvUBJ_g.js} +10 -10
- package/dist/_chunks/{balance-badge-cell-BAZynD--.js → balance-badge-cell-CXHihM22.js} +28 -27
- package/dist/_chunks/buildMatchPatternFn-jbaE1-W0.js +68 -0
- package/dist/_chunks/{calendar-appointment-editor-dialog-iyh9QqNw.js → calendar-appointment-editor-dialog-BVzFi4hH.js} +519 -531
- package/dist/_chunks/{care-plan-card-DMjlYlFc.js → care-plan-card-BA3MfdfZ.js} +2 -2
- package/dist/_chunks/{care-plan-entry-card-3hguBW45.js → care-plan-entry-card-CUtFZ813.js} +2 -2
- package/dist/_chunks/{chart-bddVIElM.js → chart-DebrFZ6L.js} +2 -2
- package/dist/_chunks/{chat-container-baxzy8k8.js → chat-container-B83b4hut.js} +2 -2
- package/dist/_chunks/checkbox-DV4sNDeB.js +282 -0
- package/dist/_chunks/{checkbox-group-eGdv9fZc.js → checkbox-group-EfinQS1h.js} +2 -2
- package/dist/_chunks/chevrons-up-down-CgiVAHb7.js +15 -0
- package/dist/_chunks/compact-editor-fields-cP6yh7xv.js +21 -0
- package/dist/_chunks/{cycle-calculator-Dd-XbKmZ.js → cycle-calculator-C68V9rdH.js} +5 -5
- package/dist/_chunks/data-grid-tabs-CsLbIv0h.js +365 -0
- package/dist/_chunks/data-table-DXaE2Ret.js +1693 -0
- package/dist/_chunks/data-table-tabs-NYLhD8_Z.js +242 -0
- package/dist/_chunks/date-locale-OG-MupVD.js +83 -0
- package/dist/_chunks/{date-picker-CdhXlgVI.js → date-picker-DBVTj6lO.js} +21 -20
- package/dist/_chunks/{date-picker-variants-Dt6UbonG.js → date-picker-variants-J1EeAhIH.js} +601 -678
- package/dist/_chunks/date-range-panel-CBFfkgmz.js +62 -0
- package/dist/_chunks/{date-range-picker-DCADIR8o.js → date-range-picker-PTRpDkXT.js} +72 -70
- package/dist/_chunks/{date-time-picker-CT2bC7-A.js → date-time-picker-CJnqiQoT.js} +22 -21
- package/dist/_chunks/{de-B1B3PIgY.js → de-i9wbjGPc.js} +2 -2
- package/dist/_chunks/{due-date-calculator-Dl6SyMHO.js → due-date-calculator-C1UA5jpS.js} +6 -6
- package/dist/_chunks/{editable-currency-cell-renderer-BUdFMh67.js → editable-currency-cell-renderer-CtlMhLai.js} +3 -3
- package/dist/_chunks/{el-iLqGpapg.js → el-Cm-rWthb.js} +20 -20
- package/dist/_chunks/{en-GB-CxPRQbD6.js → en-GB-BHn82gW8.js} +11 -10
- package/dist/_chunks/en-US-C4QKhzhA.js +46 -0
- package/dist/_chunks/{es-Bg1oqwDs.js → es-B_6Z19UA.js} +4 -4
- package/dist/_chunks/{face-scheme-DlcQaQVR.js → face-scheme-DkoxiDCh.js} +2 -2
- package/dist/_chunks/{file-manager-LG7B_UHB.js → file-manager-DFFExyym.js} +4 -4
- package/dist/_chunks/format-ql5WTsYT.js +846 -0
- package/dist/_chunks/{fr-DpGxyOGI.js → fr-gTba51QO.js} +7 -7
- package/dist/_chunks/funnel-DpPV3Qkd.js +20 -0
- package/dist/_chunks/{gestational-age-calculator-DmzYdW5e.js → gestational-age-calculator-60y1RyQL.js} +7 -7
- package/dist/_chunks/grid-context-AwsLJRhH.js +46 -0
- package/dist/_chunks/{hcg-doubling-Tr72PetS.js → hcg-doubling-CC-dbKE8.js} +6 -5
- package/dist/_chunks/{heatmap-CNxCDl0D.js → heatmap-eXdtmEoU.js} +4 -4
- package/dist/_chunks/{hi-3Dtsksrw.js → hi-BIHq9ncx.js} +10 -10
- package/dist/_chunks/icon-button-group-C9mPK-bX.js +442 -0
- package/dist/_chunks/{index-CJE9uQmb.js → index-Bze5jCG_.js} +2 -1
- package/dist/_chunks/{isSameWeek-DyVftHWi.js → isSameWeek-CZOtDcsd.js} +2 -2
- package/dist/_chunks/{it-Cp0CA13d.js → it-DaCPWJ9Y.js} +11 -11
- package/dist/_chunks/{ja-9FOyR1lb.js → ja-BRCpkD95.js} +26 -26
- package/dist/_chunks/{kit-extensions-DZJRmDI6.js → kit-extensions-CzG0RmhQ.js} +4 -4
- package/dist/_chunks/link-cell-renderer-Ditt5mvT.js +800 -0
- package/dist/_chunks/{login-dev-card-D7orCfJT.js → login-dev-card-CPndtWdz.js} +2 -2
- package/dist/_chunks/{marketplace-app-shell-CPNVBVLH.js → marketplace-app-shell-CcEHJgDd.js} +2 -2
- package/dist/_chunks/match-BATShpSX.js +336 -0
- package/dist/_chunks/{nl-sfx-zJgR.js → nl-5tAwYo00.js} +6 -6
- package/dist/_chunks/normalizeDates-BBNNIR-v.js +36 -0
- package/dist/_chunks/{notes-panel-DXMTObBv.js → notes-panel-BVYG_MJE.js} +2 -2
- package/dist/_chunks/{parse-B0s7bY4d.js → parse-BLBWPIgE.js} +63 -61
- package/dist/_chunks/{parseISO-DZZ5a-zK.js → parseISO-Dl4T9peU.js} +2 -2
- package/dist/_chunks/parts-Wz2LeGnH.js +1113 -0
- package/dist/_chunks/{patient-details-DdtXBNjt.js → patient-details-DlT-vpSe.js} +2 -2
- package/dist/_chunks/{patient-field-row-D9rb-QJH.js → patient-field-row-B54uzvu-.js} +3 -3
- package/dist/_chunks/{patient-summary-card-CGHz-Bvm.js → patient-summary-card-Dy9-CzON.js} +3 -3
- package/dist/_chunks/{periodontal-diagnosis-xheWfi4g.js → periodontal-diagnosis-DnZuZD14.js} +2 -2
- package/dist/_chunks/{permission-matrix-BJ6sg3Zp.js → permission-matrix-BXmhICzN.js} +3 -3
- package/dist/_chunks/{pl-BLh7KO-s.js → pl-mLYbfByR.js} +7 -7
- package/dist/_chunks/{pregnancy-dating-BvorzHrd.js → pregnancy-dating-qZpw3zj8.js} +7 -7
- package/dist/_chunks/privacy-mask-BlJK51MD.js +78 -0
- package/dist/_chunks/privacy-mask-text-B8YfzB7L.js +7 -0
- package/dist/_chunks/{pt-CPKOrOLj.js → pt-CgaqtlD9.js} +6 -6
- package/dist/_chunks/{radiograph-panel.agent-CXah49KM.js → radiograph-panel.agent-C1LGeX-G.js} +3 -3
- package/dist/_chunks/{registration-form-Lw9T7IXr.js → registration-form-DW-0X7S4.js} +2 -2
- package/dist/_chunks/{reserved.agent-D2jwJPac.js → reserved.agent-6p3Hm4oH.js} +9 -9
- package/dist/_chunks/{rich-text-editor-BLS2cK-u.js → rich-text-editor-efaMWbYz.js} +3 -3
- package/dist/_chunks/{ro-Dc-oNqbF.js → ro-CpDg1-8v.js} +2 -2
- package/dist/_chunks/{ru-BtNpDZRR.js → ru-B7VMyjud.js} +9 -9
- package/dist/_chunks/saved-view-tabs-DLWm88Eq.js +932 -0
- package/dist/_chunks/{send-registration-link-form-DfbTjrEK.js → send-registration-link-form-DWxWa_cJ.js} +5 -5
- package/dist/_chunks/{sidebar-2VsPlNkZ.js → sidebar-D5DFYN5K.js} +326 -335
- package/dist/_chunks/{slot-grid-BhjaLJ0o.js → slot-grid-b4eZXokb.js} +3 -3
- package/dist/_chunks/{sq-D4c7olaV.js → sq-B0Ree_9P.js} +2 -2
- package/dist/_chunks/subDays-Bsoy023P.js +8 -0
- package/dist/_chunks/{sv-Bf_dHPvh.js → sv-D9fP66O7.js} +4 -4
- package/dist/_chunks/{tag-DOZGz0fT.js → tag-BNlcEJfE.js} +70 -67
- package/dist/_chunks/{task-card-DqVoitRk.js → task-card-BNbkwIYM.js} +2 -2
- package/dist/_chunks/{task-editor-D--LwVrg.js → task-editor-CSa6vQ9r.js} +377 -391
- package/dist/_chunks/{task-tray-C6j8HVMv.js → task-tray-Bmi9wCHq.js} +2 -2
- package/dist/_chunks/{tasks-panel-D6PuF4MQ.js → tasks-panel-CVjY1d7Q.js} +2 -2
- package/dist/_chunks/{theme-toggle-Czq3K9jB.js → theme-toggle-CObX2Ffa.js} +2 -2
- package/dist/_chunks/toolbar-Bc3pjfG5.js +9907 -0
- package/dist/_chunks/{tr-xqQ6cbGY.js → tr-Bcz5LCHZ.js} +2 -2
- package/dist/_chunks/{transcript-panel-A781Pkzr.js → transcript-panel-Wr8e4Zgi.js} +2 -2
- package/dist/_chunks/{treatment-receipt-pFqWFyD_.js → treatment-receipt-BydbojdD.js} +2 -2
- package/dist/_chunks/{use-appointment-details-read-BK_Gw1GG.js → use-appointment-details-read-BMAiQYo6.js} +4 -4
- package/dist/_chunks/{voice-control-panel-BGiX4sqB.js → voice-control-panel-Be_c0CQ0.js} +2 -2
- package/dist/_chunks/{workflow-webhook-action-CtBn5JvO.js → workflow-webhook-action-DNSe65yd.js} +2 -2
- package/dist/_chunks/{zh-CN-C657DBCO.js → zh-CN-B7Ek17US.js} +11 -11
- package/dist/agent-catalog.json +717 -6
- package/dist/agent-i18n/en.json +50 -2
- package/dist/components/_shared/privacy-mask-text.d.ts +4 -0
- package/dist/components/_shared/privacy-mask.d.ts +2 -4
- package/dist/components/_shared/saved-view-tabs/saved-tab.d.ts +54 -0
- package/dist/components/_shared/saved-view-tabs/saved-view-tabs.d.ts +93 -0
- package/dist/components/_shared/saved-view-tabs/use-saved-view-tabs.d.ts +59 -0
- package/dist/components/_shared/saved-view-tabs/view-adapter.d.ts +69 -0
- package/dist/components/_shared/table-filters/calendar-day.d.ts +27 -0
- package/dist/components/_shared/table-filters/predicates.d.ts +56 -0
- package/dist/components/_shared/table-toolbar/context.d.ts +28 -0
- package/dist/components/_shared/table-toolbar/describe-filter.d.ts +42 -0
- package/dist/components/_shared/table-toolbar/export-files.d.ts +47 -0
- package/dist/components/{data-table/xlsx-export.d.ts → _shared/table-toolbar/export-xlsx.d.ts} +2 -2
- package/dist/components/_shared/table-toolbar/parts.d.ts +125 -0
- package/dist/components/_shared/table-toolbar/seam.d.ts +261 -0
- package/dist/components/ai-permission-notice/index.js +1 -1
- package/dist/components/appointment-card/index.js +2 -2
- package/dist/components/appointment-details-panel/index.js +1 -1
- package/dist/components/appointment-timeline/index.js +1 -1
- package/dist/components/booking/index.js +1 -1
- package/dist/components/care-plan-card/index.js +1 -1
- package/dist/components/care-plan-entry-card/index.js +1 -1
- package/dist/components/chart/index.js +1 -1
- package/dist/components/chat-container/index.js +1 -1
- package/dist/components/checkbox/checkbox.d.ts +66 -6
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox-group/index.js +1 -1
- package/dist/components/cycle-calculator/index.js +1 -1
- package/dist/components/data-grid/announcer.d.ts +27 -0
- package/dist/components/data-grid/body.d.ts +95 -0
- package/dist/components/data-grid/columns.d.ts +96 -0
- package/dist/components/data-grid/data-grid.agent.d.ts +2 -1
- package/dist/components/data-grid/data-grid.d.ts +11 -27
- package/dist/components/data-grid/data-grid.variants.d.ts +118 -0
- package/dist/components/data-grid/editors.d.ts +8 -0
- package/dist/components/data-grid/export-snapshot.d.ts +3 -0
- package/dist/components/data-grid/features.d.ts +56 -0
- package/dist/components/data-grid/filter-fns.d.ts +23 -0
- package/dist/components/data-grid/filters/date-range-panel.d.ts +8 -0
- package/dist/components/data-grid/filters/filter-panels.d.ts +27 -0
- package/dist/components/data-grid/filters/filter-trigger.d.ts +7 -0
- package/dist/components/data-grid/footer.d.ts +10 -0
- package/dist/components/data-grid/grid-context.d.ts +18 -0
- package/dist/components/data-grid/handle.d.ts +60 -0
- package/dist/components/data-grid/header.d.ts +12 -0
- package/dist/components/data-grid/index.d.ts +3 -0
- package/dist/components/data-grid/index.js +10 -3
- package/dist/components/data-grid/keyboard.d.ts +76 -0
- package/dist/components/data-grid/pager.d.ts +18 -0
- package/dist/components/data-grid/persistence.d.ts +60 -0
- package/dist/components/data-grid/print.d.ts +10 -0
- package/dist/components/data-grid/responsive.d.ts +36 -0
- package/dist/components/data-grid/selection.d.ts +58 -0
- package/dist/components/data-grid/state.d.ts +119 -0
- package/dist/components/data-grid/states.d.ts +34 -0
- package/dist/components/data-grid/toolbar-seam.d.ts +7 -0
- package/dist/components/data-grid/toolbar.d.ts +41 -0
- package/dist/components/data-grid/types.d.ts +1346 -0
- package/dist/components/data-grid/use-data-grid-engine.d.ts +9 -0
- package/dist/components/data-grid/virtual-rows.d.ts +43 -0
- package/dist/components/data-grid-tabs/data-grid-tabs.agent.d.ts +9 -0
- package/dist/components/data-grid-tabs/data-grid-tabs.d.ts +4 -0
- package/dist/components/data-grid-tabs/grid-view-adapter.d.ts +15 -0
- package/dist/components/data-grid-tabs/index.d.ts +5 -0
- package/dist/components/data-grid-tabs/index.js +8 -0
- package/dist/components/data-grid-tabs/types.d.ts +220 -0
- package/dist/components/data-table/ag-toolbar-seam.d.ts +35 -0
- package/dist/components/data-table/calendar-day.d.ts +4 -21
- package/dist/components/data-table/data-table.d.ts +10 -6
- package/dist/components/data-table/filters/date-range-filter.d.ts +5 -9
- package/dist/components/data-table/filters/filter-kind.d.ts +6 -0
- package/dist/components/data-table/filters/number-filter.d.ts +6 -10
- package/dist/components/data-table/filters/select-filter.d.ts +2 -4
- package/dist/components/data-table/filters/text-filter.d.ts +2 -5
- package/dist/components/data-table/index.js +4 -4
- package/dist/components/data-table/toolbar.d.ts +25 -21
- package/dist/components/data-table-tabs/ag-view-adapter.d.ts +17 -0
- package/dist/components/data-table-tabs/data-table-tabs.d.ts +34 -33
- package/dist/components/data-table-tabs/index.js +1 -1
- package/dist/components/data-table-tabs/use-data-table-filter-tabs.d.ts +11 -66
- package/dist/components/date-picker/index.js +1 -1
- package/dist/components/date-range-picker/index.js +1 -1
- package/dist/components/date-time-picker/index.js +1 -1
- package/dist/components/due-date-calculator/index.js +2 -2
- package/dist/components/face-scheme/index.js +1 -1
- package/dist/components/file-manager/index.js +1 -1
- package/dist/components/gestational-age-calculator/index.js +1 -1
- package/dist/components/hcg-doubling/index.js +1 -1
- package/dist/components/heatmap/index.js +1 -1
- package/dist/components/icon-button-group/icon-button-group.d.ts +19 -1
- package/dist/components/icon-button-group/index.d.ts +1 -1
- package/dist/components/icon-button-group/index.js +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/notes-panel/index.js +1 -1
- package/dist/components/patient-details/index.js +1 -1
- package/dist/components/patient-summary-card/index.js +1 -1
- package/dist/components/patient-table/index.js +1 -1
- package/dist/components/periodontal-diagnosis/index.js +1 -1
- package/dist/components/permission-matrix/index.js +1 -1
- package/dist/components/pregnancy-dating/index.js +1 -1
- package/dist/components/radiograph-panel/index.js +1 -1
- package/dist/components/rich-text-editor/index.js +2 -2
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/slot-grid/index.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/task-card/index.js +1 -1
- package/dist/components/task-editor/index.js +1 -1
- package/dist/components/task-tray/index.js +1 -1
- package/dist/components/tasks-panel/index.js +1 -1
- package/dist/components/theme-toggle/index.js +1 -1
- package/dist/components/transcript-panel/index.js +1 -1
- package/dist/components/treatment-receipt/index.js +1 -1
- package/dist/components/voice-control-panel/index.js +1 -1
- package/dist/core.css +1 -1
- package/dist/host-compat.css +33 -2
- package/dist/i18n/locales/ar.d.ts +94 -0
- package/dist/i18n/locales/ar.js +96 -2
- package/dist/i18n/locales/de.d.ts +94 -0
- package/dist/i18n/locales/de.js +96 -2
- package/dist/i18n/locales/el.d.ts +94 -0
- package/dist/i18n/locales/el.js +96 -2
- package/dist/i18n/locales/en.d.ts +94 -0
- package/dist/i18n/locales/en.js +97 -2
- package/dist/i18n/locales/es.d.ts +94 -0
- package/dist/i18n/locales/es.js +96 -2
- package/dist/i18n/locales/fr.d.ts +94 -0
- package/dist/i18n/locales/fr.js +96 -2
- package/dist/i18n/locales/hi.d.ts +94 -0
- package/dist/i18n/locales/hi.js +96 -2
- package/dist/i18n/locales/it.d.ts +94 -0
- package/dist/i18n/locales/it.js +96 -2
- package/dist/i18n/locales/ja.d.ts +94 -0
- package/dist/i18n/locales/ja.js +96 -2
- package/dist/i18n/locales/nl.d.ts +94 -0
- package/dist/i18n/locales/nl.js +96 -2
- package/dist/i18n/locales/pl.d.ts +94 -0
- package/dist/i18n/locales/pl.js +96 -2
- package/dist/i18n/locales/pt.d.ts +94 -0
- package/dist/i18n/locales/pt.js +96 -2
- package/dist/i18n/locales/ro.d.ts +94 -0
- package/dist/i18n/locales/ro.js +96 -2
- package/dist/i18n/locales/ru.d.ts +94 -0
- package/dist/i18n/locales/ru.js +96 -2
- package/dist/i18n/locales/sq.d.ts +94 -0
- package/dist/i18n/locales/sq.js +96 -2
- package/dist/i18n/locales/sv.d.ts +94 -0
- package/dist/i18n/locales/sv.js +96 -2
- package/dist/i18n/locales/tr.d.ts +94 -0
- package/dist/i18n/locales/tr.js +96 -2
- package/dist/i18n/locales/zh.d.ts +94 -0
- package/dist/i18n/locales/zh.js +96 -2
- package/dist/index.js +1044 -1032
- package/dist/locales/ar.json +96 -2
- package/dist/locales/de.json +96 -2
- package/dist/locales/el.json +96 -2
- package/dist/locales/en.json +96 -2
- package/dist/locales/es.json +96 -2
- package/dist/locales/fr.json +96 -2
- package/dist/locales/hi.json +96 -2
- package/dist/locales/it.json +96 -2
- package/dist/locales/ja.json +96 -2
- package/dist/locales/nl.json +96 -2
- package/dist/locales/pl.json +96 -2
- package/dist/locales/pt.json +96 -2
- package/dist/locales/ro.json +96 -2
- package/dist/locales/ru.json +96 -2
- package/dist/locales/sq.json +96 -2
- package/dist/locales/sv.json +96 -2
- package/dist/locales/tr.json +96 -2
- package/dist/locales/zh.json +96 -2
- package/dist/patterns/alia-assistant/index.js +1 -1
- package/dist/patterns/anamnesis/index.js +1 -1
- package/dist/patterns/calendar/index.js +1 -1
- package/dist/patterns/login-form/index.js +1 -1
- package/dist/patterns/marketplace-app-shell/index.js +1 -1
- package/dist/patterns/registration-form/index.js +1 -1
- package/dist/patterns/send-registration-link-form/index.js +1 -1
- package/dist/patterns/workflow-webhook-action/index.js +1 -1
- package/dist/tokens.css +1 -1
- package/package.json +5 -1
- package/dist/_chunks/checkbox-a7Sh-dXb.js +0 -227
- package/dist/_chunks/data-grid.agent-CASyEAnb.js +0 -1773
- package/dist/_chunks/data-table-C9idMvs0.js +0 -2042
- package/dist/_chunks/data-table-tabs-Db7zToFD.js +0 -728
- package/dist/_chunks/format--x5jypvH.js +0 -1319
- package/dist/_chunks/icon-button-group-mXvYDaba.js +0 -427
- package/dist/_chunks/link-cell-renderer-_Fv3WEmb.js +0 -867
- package/dist/_chunks/privacy-mask-Dc3kdkCR.js +0 -81
- package/dist/_chunks/subDays-DKISP2nE.js +0 -8
package/dist/agent-catalog.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"packageVersion": "1.
|
|
3
|
+
"packageVersion": "1.115.0",
|
|
4
4
|
"components": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "component",
|
|
@@ -3474,14 +3474,725 @@
|
|
|
3474
3474
|
{
|
|
3475
3475
|
"kind": "component",
|
|
3476
3476
|
"id": "data-grid",
|
|
3477
|
-
"capabilities": [
|
|
3478
|
-
|
|
3479
|
-
|
|
3477
|
+
"capabilities": [
|
|
3478
|
+
"select_single",
|
|
3479
|
+
"select_multiple",
|
|
3480
|
+
"range_pick",
|
|
3481
|
+
"filter",
|
|
3482
|
+
"sort",
|
|
3483
|
+
"paginate",
|
|
3484
|
+
"expand",
|
|
3485
|
+
"view_change",
|
|
3486
|
+
"scroll"
|
|
3487
|
+
],
|
|
3488
|
+
"state": [
|
|
3489
|
+
{
|
|
3490
|
+
"name": "features",
|
|
3491
|
+
"type": "{ dataMode, selectionMode, sorting, filtering, quickFilter, pagination, expansion, columnResizing, privacyMode }",
|
|
3492
|
+
"description": "Which features this grid has on, so you know which actions will work before you call them.",
|
|
3493
|
+
"descriptionKey": "ui.agent.dataGrid.state.features"
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
"name": "selection",
|
|
3497
|
+
"type": "string[]",
|
|
3498
|
+
"description": "Row ids of the selected rows, on every page, locked rows included.",
|
|
3499
|
+
"descriptionKey": "ui.agent.dataGrid.state.selection"
|
|
3500
|
+
},
|
|
3501
|
+
{
|
|
3502
|
+
"name": "sort",
|
|
3503
|
+
"type": "Array<{ colId, sort }>",
|
|
3504
|
+
"description": "Active sort, in priority order.",
|
|
3505
|
+
"descriptionKey": "ui.agent.dataGrid.state.sort"
|
|
3506
|
+
},
|
|
3507
|
+
{
|
|
3508
|
+
"name": "filter",
|
|
3509
|
+
"type": "object",
|
|
3510
|
+
"description": "Filter model: kit filter models keyed by column id, plus host keys. Under privacy mode, host keys and masked columns report { masked: true } instead of the value.",
|
|
3511
|
+
"descriptionKey": "ui.agent.dataGrid.state.filter"
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"name": "quickFilter",
|
|
3515
|
+
"type": "string | { masked: true }",
|
|
3516
|
+
"description": "Quick search text. Under privacy mode it reports { masked: true } while any column is masked.",
|
|
3517
|
+
"descriptionKey": "ui.agent.dataGrid.state.quickFilter"
|
|
3518
|
+
},
|
|
3519
|
+
{
|
|
3520
|
+
"name": "currentPage",
|
|
3521
|
+
"type": "number",
|
|
3522
|
+
"description": "Zero-based page number.",
|
|
3523
|
+
"descriptionKey": "ui.agent.dataGrid.state.currentPage"
|
|
3524
|
+
},
|
|
3525
|
+
{
|
|
3526
|
+
"name": "pageSize",
|
|
3527
|
+
"type": "number",
|
|
3528
|
+
"description": "Rows per page.",
|
|
3529
|
+
"descriptionKey": "ui.agent.dataGrid.state.pageSize"
|
|
3530
|
+
},
|
|
3531
|
+
{
|
|
3532
|
+
"name": "pageCount",
|
|
3533
|
+
"type": "number",
|
|
3534
|
+
"description": "Number of pages: 1 when paging is off, -1 when the server total is unknown.",
|
|
3535
|
+
"descriptionKey": "ui.agent.dataGrid.state.pageCount"
|
|
3536
|
+
},
|
|
3537
|
+
{
|
|
3538
|
+
"name": "rowCount",
|
|
3539
|
+
"type": "number",
|
|
3540
|
+
"description": "Top-level rows after filters (client mode) or the server total (-1 when unknown).",
|
|
3541
|
+
"descriptionKey": "ui.agent.dataGrid.state.rowCount"
|
|
3542
|
+
},
|
|
3543
|
+
{
|
|
3544
|
+
"name": "rowIds",
|
|
3545
|
+
"type": "string[]",
|
|
3546
|
+
"description": "Row ids in display order: every filtered row in client mode, the current page in server mode.",
|
|
3547
|
+
"descriptionKey": "ui.agent.dataGrid.state.rowIds"
|
|
3548
|
+
},
|
|
3549
|
+
{
|
|
3550
|
+
"name": "expandedRowIds",
|
|
3551
|
+
"type": "string[]",
|
|
3552
|
+
"description": "Ids of the rows whose sub-rows or detail panel are open.",
|
|
3553
|
+
"descriptionKey": "ui.agent.dataGrid.state.expandedRowIds"
|
|
3554
|
+
},
|
|
3555
|
+
{
|
|
3556
|
+
"name": "columns",
|
|
3557
|
+
"type": "Array<{ id, label, visible, pinned, index }>",
|
|
3558
|
+
"description": "Data columns in display order: id, header label, visibility, pin side (start, end or false) and index.",
|
|
3559
|
+
"descriptionKey": "ui.agent.dataGrid.state.columns"
|
|
3560
|
+
}
|
|
3561
|
+
],
|
|
3562
|
+
"actions": [
|
|
3563
|
+
{
|
|
3564
|
+
"name": "select_rows",
|
|
3565
|
+
"safety": "read",
|
|
3566
|
+
"argsType": "{ ids: string[] }",
|
|
3567
|
+
"argsSchema": {
|
|
3568
|
+
"type": "object",
|
|
3569
|
+
"properties": {
|
|
3570
|
+
"ids": {
|
|
3571
|
+
"type": "array",
|
|
3572
|
+
"items": {
|
|
3573
|
+
"type": "string"
|
|
3574
|
+
},
|
|
3575
|
+
"description": "Row ids to select (replaces the current selection)."
|
|
3576
|
+
}
|
|
3577
|
+
},
|
|
3578
|
+
"required": [
|
|
3579
|
+
"ids"
|
|
3580
|
+
]
|
|
3581
|
+
},
|
|
3582
|
+
"returns": "{ selection: string[], dropped: string[] }",
|
|
3583
|
+
"returnsSchema": {
|
|
3584
|
+
"type": "object",
|
|
3585
|
+
"properties": {
|
|
3586
|
+
"selection": {
|
|
3587
|
+
"type": "array",
|
|
3588
|
+
"items": {
|
|
3589
|
+
"type": "string"
|
|
3590
|
+
},
|
|
3591
|
+
"description": "Row ids selected after the call (every page)."
|
|
3592
|
+
},
|
|
3593
|
+
"dropped": {
|
|
3594
|
+
"type": "array",
|
|
3595
|
+
"items": {
|
|
3596
|
+
"type": "string"
|
|
3597
|
+
},
|
|
3598
|
+
"description": "Requested ids the grid did not select: unknown rows (client mode) or rows that cannot be selected."
|
|
3599
|
+
}
|
|
3600
|
+
},
|
|
3601
|
+
"required": [
|
|
3602
|
+
"selection",
|
|
3603
|
+
"dropped"
|
|
3604
|
+
]
|
|
3605
|
+
},
|
|
3606
|
+
"idempotent": true,
|
|
3607
|
+
"errors": [
|
|
3608
|
+
"SELECTION_DISABLED: the grid has no row selection (features.selectionMode is none).",
|
|
3609
|
+
"UNKNOWN_ROW: in client mode, ids not in the grid are dropped and listed in dropped. Server mode keeps ids from other pages.",
|
|
3610
|
+
"Locked rows stay selected whatever is passed."
|
|
3611
|
+
],
|
|
3612
|
+
"examples": [
|
|
3613
|
+
{
|
|
3614
|
+
"args": {
|
|
3615
|
+
"ids": [
|
|
3616
|
+
"bill-1",
|
|
3617
|
+
"bill-2"
|
|
3618
|
+
]
|
|
3619
|
+
},
|
|
3620
|
+
"note": "Select two rows."
|
|
3621
|
+
}
|
|
3622
|
+
],
|
|
3623
|
+
"description": "Replace the selection with the given row ids. Returns the resulting selection and the ids that were not selected.",
|
|
3624
|
+
"descriptionKey": "ui.agent.dataGrid.actions.selectRows"
|
|
3625
|
+
},
|
|
3626
|
+
{
|
|
3627
|
+
"name": "select_range",
|
|
3628
|
+
"safety": "read",
|
|
3629
|
+
"argsType": "{ fromId: string, toId: string }",
|
|
3630
|
+
"argsSchema": {
|
|
3631
|
+
"type": "object",
|
|
3632
|
+
"properties": {
|
|
3633
|
+
"fromId": {
|
|
3634
|
+
"type": "string",
|
|
3635
|
+
"description": "Start row id (inclusive)."
|
|
3636
|
+
},
|
|
3637
|
+
"toId": {
|
|
3638
|
+
"type": "string",
|
|
3639
|
+
"description": "End row id (inclusive)."
|
|
3640
|
+
}
|
|
3641
|
+
},
|
|
3642
|
+
"required": [
|
|
3643
|
+
"fromId",
|
|
3644
|
+
"toId"
|
|
3645
|
+
]
|
|
3646
|
+
},
|
|
3647
|
+
"idempotent": true,
|
|
3648
|
+
"errors": [
|
|
3649
|
+
"SELECTION_DISABLED: the grid does not allow multiple selection.",
|
|
3650
|
+
"UNKNOWN_ROW: fromId or toId is not in rowIds."
|
|
3651
|
+
],
|
|
3652
|
+
"description": "Select every row from fromId to toId, inclusive, in display order. Rows that cannot be selected are skipped.",
|
|
3653
|
+
"descriptionKey": "ui.agent.dataGrid.actions.selectRange"
|
|
3654
|
+
},
|
|
3655
|
+
{
|
|
3656
|
+
"name": "clear_selection",
|
|
3657
|
+
"safety": "read",
|
|
3658
|
+
"idempotent": true,
|
|
3659
|
+
"description": "Deselect every row. Locked rows stay selected.",
|
|
3660
|
+
"descriptionKey": "ui.agent.dataGrid.actions.clearSelection"
|
|
3661
|
+
},
|
|
3662
|
+
{
|
|
3663
|
+
"name": "get_selection",
|
|
3664
|
+
"safety": "read",
|
|
3665
|
+
"returns": "string[]",
|
|
3666
|
+
"returnsSchema": {
|
|
3667
|
+
"type": "array",
|
|
3668
|
+
"items": {
|
|
3669
|
+
"type": "string"
|
|
3670
|
+
}
|
|
3671
|
+
},
|
|
3672
|
+
"idempotent": true,
|
|
3673
|
+
"description": "Return the ids of the selected rows, on every page, locked rows included.",
|
|
3674
|
+
"descriptionKey": "ui.agent.dataGrid.actions.getSelection"
|
|
3675
|
+
},
|
|
3676
|
+
{
|
|
3677
|
+
"name": "sort_by",
|
|
3678
|
+
"safety": "read",
|
|
3679
|
+
"argsType": "{ model: Array<{ colId: string, sort: \"asc\" | \"desc\" }> }",
|
|
3680
|
+
"argsSchema": {
|
|
3681
|
+
"type": "object",
|
|
3682
|
+
"properties": {
|
|
3683
|
+
"model": {
|
|
3684
|
+
"type": "array",
|
|
3685
|
+
"maxItems": 3,
|
|
3686
|
+
"description": "Sort entries in priority order. An empty list removes the sort.",
|
|
3687
|
+
"items": {
|
|
3688
|
+
"type": "object",
|
|
3689
|
+
"properties": {
|
|
3690
|
+
"colId": {
|
|
3691
|
+
"type": "string",
|
|
3692
|
+
"description": "Column id to sort by."
|
|
3693
|
+
},
|
|
3694
|
+
"sort": {
|
|
3695
|
+
"enum": [
|
|
3696
|
+
"asc",
|
|
3697
|
+
"desc"
|
|
3698
|
+
],
|
|
3699
|
+
"description": "Sort direction."
|
|
3700
|
+
}
|
|
3701
|
+
},
|
|
3702
|
+
"required": [
|
|
3703
|
+
"colId",
|
|
3704
|
+
"sort"
|
|
3705
|
+
]
|
|
3706
|
+
}
|
|
3707
|
+
}
|
|
3708
|
+
},
|
|
3709
|
+
"required": [
|
|
3710
|
+
"model"
|
|
3711
|
+
]
|
|
3712
|
+
},
|
|
3713
|
+
"idempotent": true,
|
|
3714
|
+
"openWorld": true,
|
|
3715
|
+
"errors": [
|
|
3716
|
+
"SORT_DISABLED: the grid does not sort, or a named column does not sort.",
|
|
3717
|
+
"UNKNOWN_COLUMN: a colId names no column.",
|
|
3718
|
+
"COLUMN_MASKED: a named column is hidden by privacy mode."
|
|
3719
|
+
],
|
|
3720
|
+
"examples": [
|
|
3721
|
+
{
|
|
3722
|
+
"args": {
|
|
3723
|
+
"model": [
|
|
3724
|
+
{
|
|
3725
|
+
"colId": "dueDate",
|
|
3726
|
+
"sort": "asc"
|
|
3727
|
+
}
|
|
3728
|
+
]
|
|
3729
|
+
},
|
|
3730
|
+
"note": "Sort by due date, earliest first."
|
|
3731
|
+
}
|
|
3732
|
+
],
|
|
3733
|
+
"description": "Replace the active sort with the given list, in priority order. In server mode this asks the host for new rows.",
|
|
3734
|
+
"descriptionKey": "ui.agent.dataGrid.actions.sortBy"
|
|
3735
|
+
},
|
|
3736
|
+
{
|
|
3737
|
+
"name": "apply_filter",
|
|
3738
|
+
"safety": "read",
|
|
3739
|
+
"argsType": "{ model: Record<string, unknown> }",
|
|
3740
|
+
"argsSchema": {
|
|
3741
|
+
"type": "object",
|
|
3742
|
+
"properties": {
|
|
3743
|
+
"model": {
|
|
3744
|
+
"type": "object",
|
|
3745
|
+
"description": "Kit filter models keyed by column id (text, number, set or date range), plus any host keys the page uses. Replaces the current model.",
|
|
3746
|
+
"additionalProperties": true
|
|
3747
|
+
}
|
|
3748
|
+
},
|
|
3749
|
+
"required": [
|
|
3750
|
+
"model"
|
|
3751
|
+
]
|
|
3752
|
+
},
|
|
3753
|
+
"idempotent": true,
|
|
3754
|
+
"openWorld": true,
|
|
3755
|
+
"errors": [
|
|
3756
|
+
"FILTER_DISABLED: a key names a column that has no filter.",
|
|
3757
|
+
"COLUMN_MASKED: a key names a column hidden by privacy mode.",
|
|
3758
|
+
"Keys that name no column are host keys and pass through to the host."
|
|
3759
|
+
],
|
|
3760
|
+
"examples": [
|
|
3761
|
+
{
|
|
3762
|
+
"args": {
|
|
3763
|
+
"model": {
|
|
3764
|
+
"status": {
|
|
3765
|
+
"type": "set",
|
|
3766
|
+
"values": [
|
|
3767
|
+
"toLoad"
|
|
3768
|
+
]
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
},
|
|
3772
|
+
"note": "Show only rows whose status is toLoad."
|
|
3773
|
+
}
|
|
3774
|
+
],
|
|
3775
|
+
"description": "Replace the filter model with the given object. In server mode this asks the host for new rows.",
|
|
3776
|
+
"descriptionKey": "ui.agent.dataGrid.actions.applyFilter"
|
|
3777
|
+
},
|
|
3778
|
+
{
|
|
3779
|
+
"name": "set_quick_filter",
|
|
3780
|
+
"safety": "read",
|
|
3781
|
+
"argsType": "{ text: string }",
|
|
3782
|
+
"argsSchema": {
|
|
3783
|
+
"type": "object",
|
|
3784
|
+
"properties": {
|
|
3785
|
+
"text": {
|
|
3786
|
+
"type": "string",
|
|
3787
|
+
"description": "Search text. An empty string clears quick search."
|
|
3788
|
+
}
|
|
3789
|
+
},
|
|
3790
|
+
"required": [
|
|
3791
|
+
"text"
|
|
3792
|
+
]
|
|
3793
|
+
},
|
|
3794
|
+
"idempotent": true,
|
|
3795
|
+
"openWorld": true,
|
|
3796
|
+
"description": "Set the quick search text, which matches across the searchable columns. In server mode this asks the host for new rows.",
|
|
3797
|
+
"descriptionKey": "ui.agent.dataGrid.actions.setQuickFilter"
|
|
3798
|
+
},
|
|
3799
|
+
{
|
|
3800
|
+
"name": "clear_filters",
|
|
3801
|
+
"safety": "read",
|
|
3802
|
+
"idempotent": true,
|
|
3803
|
+
"openWorld": true,
|
|
3804
|
+
"description": "Clear every column filter, host key and the quick search. In server mode this asks the host for new rows.",
|
|
3805
|
+
"descriptionKey": "ui.agent.dataGrid.actions.clearFilters"
|
|
3806
|
+
},
|
|
3807
|
+
{
|
|
3808
|
+
"name": "go_to_page",
|
|
3809
|
+
"safety": "read",
|
|
3810
|
+
"argsType": "{ page: number }",
|
|
3811
|
+
"argsSchema": {
|
|
3812
|
+
"type": "object",
|
|
3813
|
+
"properties": {
|
|
3814
|
+
"page": {
|
|
3815
|
+
"type": "integer",
|
|
3816
|
+
"minimum": 0,
|
|
3817
|
+
"description": "Zero-based page number."
|
|
3818
|
+
}
|
|
3819
|
+
},
|
|
3820
|
+
"required": [
|
|
3821
|
+
"page"
|
|
3822
|
+
]
|
|
3823
|
+
},
|
|
3824
|
+
"idempotent": true,
|
|
3825
|
+
"openWorld": true,
|
|
3826
|
+
"errors": [
|
|
3827
|
+
"PAGINATION_DISABLED: the grid is not paged."
|
|
3828
|
+
],
|
|
3829
|
+
"description": "Go to the given zero-based page. In server mode this asks the host for new rows.",
|
|
3830
|
+
"descriptionKey": "ui.agent.dataGrid.actions.goToPage"
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
"name": "set_page_size",
|
|
3834
|
+
"safety": "read",
|
|
3835
|
+
"argsType": "{ size: number }",
|
|
3836
|
+
"argsSchema": {
|
|
3837
|
+
"type": "object",
|
|
3838
|
+
"properties": {
|
|
3839
|
+
"size": {
|
|
3840
|
+
"type": "integer",
|
|
3841
|
+
"minimum": 1,
|
|
3842
|
+
"description": "Rows per page."
|
|
3843
|
+
}
|
|
3844
|
+
},
|
|
3845
|
+
"required": [
|
|
3846
|
+
"size"
|
|
3847
|
+
]
|
|
3848
|
+
},
|
|
3849
|
+
"idempotent": true,
|
|
3850
|
+
"openWorld": true,
|
|
3851
|
+
"errors": [
|
|
3852
|
+
"PAGINATION_DISABLED: the grid is not paged."
|
|
3853
|
+
],
|
|
3854
|
+
"description": "Set how many rows a page shows. In server mode this asks the host for new rows.",
|
|
3855
|
+
"descriptionKey": "ui.agent.dataGrid.actions.setPageSize"
|
|
3856
|
+
},
|
|
3857
|
+
{
|
|
3858
|
+
"name": "expand_row",
|
|
3859
|
+
"safety": "read",
|
|
3860
|
+
"argsType": "{ id: string, expanded: boolean }",
|
|
3861
|
+
"argsSchema": {
|
|
3862
|
+
"type": "object",
|
|
3863
|
+
"properties": {
|
|
3864
|
+
"id": {
|
|
3865
|
+
"type": "string",
|
|
3866
|
+
"description": "Row id."
|
|
3867
|
+
},
|
|
3868
|
+
"expanded": {
|
|
3869
|
+
"type": "boolean",
|
|
3870
|
+
"description": "True opens the row, false closes it."
|
|
3871
|
+
}
|
|
3872
|
+
},
|
|
3873
|
+
"required": [
|
|
3874
|
+
"id",
|
|
3875
|
+
"expanded"
|
|
3876
|
+
]
|
|
3877
|
+
},
|
|
3878
|
+
"idempotent": true,
|
|
3879
|
+
"errors": [
|
|
3880
|
+
"EXPANSION_DISABLED: the grid has no sub-rows or detail panel.",
|
|
3881
|
+
"UNKNOWN_ROW: the id is not in rowIds."
|
|
3882
|
+
],
|
|
3883
|
+
"description": "Open or close a row's sub-rows or detail panel.",
|
|
3884
|
+
"descriptionKey": "ui.agent.dataGrid.actions.expandRow"
|
|
3885
|
+
},
|
|
3886
|
+
{
|
|
3887
|
+
"name": "scroll_to_row",
|
|
3888
|
+
"safety": "read",
|
|
3889
|
+
"argsType": "{ id: string }",
|
|
3890
|
+
"argsSchema": {
|
|
3891
|
+
"type": "object",
|
|
3892
|
+
"properties": {
|
|
3893
|
+
"id": {
|
|
3894
|
+
"type": "string",
|
|
3895
|
+
"description": "Row id."
|
|
3896
|
+
}
|
|
3897
|
+
},
|
|
3898
|
+
"required": [
|
|
3899
|
+
"id"
|
|
3900
|
+
]
|
|
3901
|
+
},
|
|
3902
|
+
"idempotent": true,
|
|
3903
|
+
"errors": [
|
|
3904
|
+
"UNKNOWN_ROW: the id is not in rowIds."
|
|
3905
|
+
],
|
|
3906
|
+
"description": "Scroll a row into view, including a row a virtualised grid has not rendered yet. Does not move focus.",
|
|
3907
|
+
"descriptionKey": "ui.agent.dataGrid.actions.scrollToRow"
|
|
3908
|
+
},
|
|
3909
|
+
{
|
|
3910
|
+
"name": "set_column_visibility",
|
|
3911
|
+
"safety": "write",
|
|
3912
|
+
"argsType": "{ id: string, visible: boolean }",
|
|
3913
|
+
"argsSchema": {
|
|
3914
|
+
"type": "object",
|
|
3915
|
+
"properties": {
|
|
3916
|
+
"id": {
|
|
3917
|
+
"type": "string",
|
|
3918
|
+
"description": "Column id."
|
|
3919
|
+
},
|
|
3920
|
+
"visible": {
|
|
3921
|
+
"type": "boolean",
|
|
3922
|
+
"description": "True shows the column, false hides it."
|
|
3923
|
+
}
|
|
3924
|
+
},
|
|
3925
|
+
"required": [
|
|
3926
|
+
"id",
|
|
3927
|
+
"visible"
|
|
3928
|
+
]
|
|
3929
|
+
},
|
|
3930
|
+
"idempotent": true,
|
|
3931
|
+
"errors": [
|
|
3932
|
+
"UNKNOWN_COLUMN: the id names no column.",
|
|
3933
|
+
"NOT_HIDEABLE: the column cannot be hidden."
|
|
3934
|
+
],
|
|
3935
|
+
"description": "Show or hide a column. Counts as a user choice: it is saved for this grid and responsive hiding leaves it alone.",
|
|
3936
|
+
"descriptionKey": "ui.agent.dataGrid.actions.setColumnVisibility"
|
|
3937
|
+
},
|
|
3938
|
+
{
|
|
3939
|
+
"name": "pin_column",
|
|
3940
|
+
"safety": "write",
|
|
3941
|
+
"argsType": "{ id: string, side: \"start\" | \"end\" | null }",
|
|
3942
|
+
"argsSchema": {
|
|
3943
|
+
"type": "object",
|
|
3944
|
+
"properties": {
|
|
3945
|
+
"id": {
|
|
3946
|
+
"type": "string",
|
|
3947
|
+
"description": "Column id."
|
|
3948
|
+
},
|
|
3949
|
+
"side": {
|
|
3950
|
+
"enum": [
|
|
3951
|
+
"start",
|
|
3952
|
+
"end",
|
|
3953
|
+
null
|
|
3954
|
+
],
|
|
3955
|
+
"description": "start pins to the reading start edge, end to the reading end edge, null unpins."
|
|
3956
|
+
}
|
|
3957
|
+
},
|
|
3958
|
+
"required": [
|
|
3959
|
+
"id",
|
|
3960
|
+
"side"
|
|
3961
|
+
]
|
|
3962
|
+
},
|
|
3963
|
+
"idempotent": true,
|
|
3964
|
+
"errors": [
|
|
3965
|
+
"UNKNOWN_COLUMN: the id names no column.",
|
|
3966
|
+
"NOT_PINNABLE: the column cannot be pinned, or pinning it would split its group."
|
|
3967
|
+
],
|
|
3968
|
+
"description": "Pin a column to the start or end edge so it stays in view while the others scroll, or unpin it. Saved for this grid.",
|
|
3969
|
+
"descriptionKey": "ui.agent.dataGrid.actions.pinColumn"
|
|
3970
|
+
},
|
|
3971
|
+
{
|
|
3972
|
+
"name": "move_column",
|
|
3973
|
+
"safety": "write",
|
|
3974
|
+
"argsType": "{ id: string, toIndex: number }",
|
|
3975
|
+
"argsSchema": {
|
|
3976
|
+
"type": "object",
|
|
3977
|
+
"properties": {
|
|
3978
|
+
"id": {
|
|
3979
|
+
"type": "string",
|
|
3980
|
+
"description": "Column id."
|
|
3981
|
+
},
|
|
3982
|
+
"toIndex": {
|
|
3983
|
+
"type": "integer",
|
|
3984
|
+
"minimum": 0,
|
|
3985
|
+
"description": "The column's final index in the columns state after the move."
|
|
3986
|
+
}
|
|
3987
|
+
},
|
|
3988
|
+
"required": [
|
|
3989
|
+
"id",
|
|
3990
|
+
"toIndex"
|
|
3991
|
+
]
|
|
3992
|
+
},
|
|
3993
|
+
"idempotent": true,
|
|
3994
|
+
"errors": [
|
|
3995
|
+
"UNKNOWN_COLUMN: the id names no column.",
|
|
3996
|
+
"NOT_MOVABLE: the column cannot be moved, or the move would take it out of its group."
|
|
3997
|
+
],
|
|
3998
|
+
"description": "Move a column to a new position. It takes the pin side of the column that was at that position. Saved for this grid.",
|
|
3999
|
+
"descriptionKey": "ui.agent.dataGrid.actions.moveColumn"
|
|
4000
|
+
},
|
|
4001
|
+
{
|
|
4002
|
+
"name": "reset_columns",
|
|
4003
|
+
"safety": "destructive",
|
|
4004
|
+
"idempotent": true,
|
|
4005
|
+
"description": "Put every column back to the page's default width, order, pin and visibility, and delete the column choices saved for this grid.",
|
|
4006
|
+
"descriptionKey": "ui.agent.dataGrid.actions.resetColumns"
|
|
4007
|
+
}
|
|
4008
|
+
],
|
|
3480
4009
|
"domHooks": {
|
|
3481
4010
|
"root": {
|
|
3482
4011
|
"attr": "data-component",
|
|
3483
4012
|
"value": "data-grid",
|
|
3484
4013
|
"description": "Marks the element as a kit DataGrid."
|
|
4014
|
+
},
|
|
4015
|
+
"instanceId": {
|
|
4016
|
+
"attr": "data-component-id",
|
|
4017
|
+
"sourceProp": "gridId",
|
|
4018
|
+
"description": "Sourced from the gridId prop. Required to address a specific grid from the agent."
|
|
4019
|
+
},
|
|
4020
|
+
"item": {
|
|
4021
|
+
"attr": "data-row-id",
|
|
4022
|
+
"description": "Opaque row id from getRowId, on each record row. Select, expand and scroll through the handle, not by changing the DOM."
|
|
4023
|
+
}
|
|
4024
|
+
}
|
|
4025
|
+
},
|
|
4026
|
+
{
|
|
4027
|
+
"kind": "component",
|
|
4028
|
+
"id": "data-grid-tabs",
|
|
4029
|
+
"capabilities": [
|
|
4030
|
+
"select_single",
|
|
4031
|
+
"filter"
|
|
4032
|
+
],
|
|
4033
|
+
"state": [
|
|
4034
|
+
{
|
|
4035
|
+
"name": "activeTabId",
|
|
4036
|
+
"type": "string | null",
|
|
4037
|
+
"description": "Id of the currently-active saved-filter tab.",
|
|
4038
|
+
"descriptionKey": "ui.agent.dataGridTabs.state.activeTabId"
|
|
4039
|
+
},
|
|
4040
|
+
{
|
|
4041
|
+
"name": "activeSavedFilter",
|
|
4042
|
+
"type": "{ id: string, label: string | { masked: true } } | null",
|
|
4043
|
+
"description": "The saved filter view the grid shows now (id + label), or null before the tabs mount. Under privacy mode the label reports { masked: true }. Read the filters from the DataGrid adapter.",
|
|
4044
|
+
"descriptionKey": "ui.agent.dataGridTabs.state.activeSavedFilter"
|
|
4045
|
+
},
|
|
4046
|
+
{
|
|
4047
|
+
"name": "tabs",
|
|
4048
|
+
"type": "Array<{ id: string, label: string | { masked: true } }>",
|
|
4049
|
+
"description": "The saved-filter tabs, in strip order (ids + labels). Under privacy mode each label reports { masked: true }.",
|
|
4050
|
+
"descriptionKey": "ui.agent.dataGridTabs.state.tabs"
|
|
4051
|
+
}
|
|
4052
|
+
],
|
|
4053
|
+
"actions": [
|
|
4054
|
+
{
|
|
4055
|
+
"name": "select_tab",
|
|
4056
|
+
"safety": "write",
|
|
4057
|
+
"argsType": "{ id: string }",
|
|
4058
|
+
"argsSchema": {
|
|
4059
|
+
"type": "object",
|
|
4060
|
+
"properties": {
|
|
4061
|
+
"id": {
|
|
4062
|
+
"type": "string",
|
|
4063
|
+
"description": "Tab id to activate."
|
|
4064
|
+
}
|
|
4065
|
+
},
|
|
4066
|
+
"required": [
|
|
4067
|
+
"id"
|
|
4068
|
+
]
|
|
4069
|
+
},
|
|
4070
|
+
"idempotent": true,
|
|
4071
|
+
"openWorld": true,
|
|
4072
|
+
"description": "Activate a saved-filter tab: records the outgoing tab's live view into it (and into localStorage with persistKey), then applies the incoming view (filters, and the quick search when captured) to the grid in one write. In server mode this asks the host for new rows once.",
|
|
4073
|
+
"descriptionKey": "ui.agent.dataGridTabs.actions.selectTab"
|
|
4074
|
+
},
|
|
4075
|
+
{
|
|
4076
|
+
"name": "get_tabs",
|
|
4077
|
+
"safety": "read",
|
|
4078
|
+
"returns": "Array<{ id: string, label: string | { masked: true } }>",
|
|
4079
|
+
"returnsSchema": {
|
|
4080
|
+
"type": "array",
|
|
4081
|
+
"items": {
|
|
4082
|
+
"type": "object",
|
|
4083
|
+
"properties": {
|
|
4084
|
+
"id": {
|
|
4085
|
+
"type": "string"
|
|
4086
|
+
},
|
|
4087
|
+
"label": {
|
|
4088
|
+
"oneOf": [
|
|
4089
|
+
{
|
|
4090
|
+
"type": "string"
|
|
4091
|
+
},
|
|
4092
|
+
{
|
|
4093
|
+
"type": "object",
|
|
4094
|
+
"properties": {
|
|
4095
|
+
"masked": {
|
|
4096
|
+
"type": "boolean",
|
|
4097
|
+
"const": true
|
|
4098
|
+
}
|
|
4099
|
+
},
|
|
4100
|
+
"required": [
|
|
4101
|
+
"masked"
|
|
4102
|
+
]
|
|
4103
|
+
}
|
|
4104
|
+
]
|
|
4105
|
+
}
|
|
4106
|
+
},
|
|
4107
|
+
"required": [
|
|
4108
|
+
"id",
|
|
4109
|
+
"label"
|
|
4110
|
+
]
|
|
4111
|
+
}
|
|
4112
|
+
},
|
|
4113
|
+
"idempotent": true,
|
|
4114
|
+
"description": "Return the saved-filter tabs (ids + labels) in order. Under privacy mode each label reports { masked: true }.",
|
|
4115
|
+
"descriptionKey": "ui.agent.dataGridTabs.actions.getTabs"
|
|
4116
|
+
},
|
|
4117
|
+
{
|
|
4118
|
+
"name": "add_tab",
|
|
4119
|
+
"safety": "write",
|
|
4120
|
+
"argsType": "{ label?: string }",
|
|
4121
|
+
"argsSchema": {
|
|
4122
|
+
"type": "object",
|
|
4123
|
+
"properties": {
|
|
4124
|
+
"label": {
|
|
4125
|
+
"type": "string",
|
|
4126
|
+
"description": "Display name for the new tab. Defaults to a numbered name."
|
|
4127
|
+
}
|
|
4128
|
+
},
|
|
4129
|
+
"required": []
|
|
4130
|
+
},
|
|
4131
|
+
"returns": "string",
|
|
4132
|
+
"returnsSchema": {
|
|
4133
|
+
"type": "string"
|
|
4134
|
+
},
|
|
4135
|
+
"idempotent": false,
|
|
4136
|
+
"description": "Add a new tab capturing the grid's current filters, and activate it. Returns the new tab id. Does nothing when the host turned adding off (allowAdd).",
|
|
4137
|
+
"descriptionKey": "ui.agent.dataGridTabs.actions.addTab"
|
|
4138
|
+
},
|
|
4139
|
+
{
|
|
4140
|
+
"name": "rename_tab",
|
|
4141
|
+
"safety": "write",
|
|
4142
|
+
"argsType": "{ id: string, label: string }",
|
|
4143
|
+
"argsSchema": {
|
|
4144
|
+
"type": "object",
|
|
4145
|
+
"properties": {
|
|
4146
|
+
"id": {
|
|
4147
|
+
"type": "string",
|
|
4148
|
+
"description": "Tab id to rename."
|
|
4149
|
+
},
|
|
4150
|
+
"label": {
|
|
4151
|
+
"type": "string",
|
|
4152
|
+
"description": "New display name."
|
|
4153
|
+
}
|
|
4154
|
+
},
|
|
4155
|
+
"required": [
|
|
4156
|
+
"id",
|
|
4157
|
+
"label"
|
|
4158
|
+
]
|
|
4159
|
+
},
|
|
4160
|
+
"idempotent": true,
|
|
4161
|
+
"description": "Rename a saved-filter tab. No-op on locked tabs, empty labels, and when the host turned renaming off (allowRename).",
|
|
4162
|
+
"descriptionKey": "ui.agent.dataGridTabs.actions.renameTab"
|
|
4163
|
+
},
|
|
4164
|
+
{
|
|
4165
|
+
"name": "remove_tab",
|
|
4166
|
+
"safety": "destructive",
|
|
4167
|
+
"argsType": "{ id: string }",
|
|
4168
|
+
"argsSchema": {
|
|
4169
|
+
"type": "object",
|
|
4170
|
+
"properties": {
|
|
4171
|
+
"id": {
|
|
4172
|
+
"type": "string",
|
|
4173
|
+
"description": "Tab id to remove."
|
|
4174
|
+
}
|
|
4175
|
+
},
|
|
4176
|
+
"required": [
|
|
4177
|
+
"id"
|
|
4178
|
+
]
|
|
4179
|
+
},
|
|
4180
|
+
"idempotent": true,
|
|
4181
|
+
"description": "Remove a saved-filter tab (its saved filter is lost). No-op on locked tabs, the last remaining tab, and when the host turned removing off (allowRemove). Keyboard focus stays where the user is.",
|
|
4182
|
+
"descriptionKey": "ui.agent.dataGridTabs.actions.removeTab"
|
|
4183
|
+
}
|
|
4184
|
+
],
|
|
4185
|
+
"domHooks": {
|
|
4186
|
+
"root": {
|
|
4187
|
+
"attr": "data-component",
|
|
4188
|
+
"value": "data-grid-tabs"
|
|
4189
|
+
},
|
|
4190
|
+
"instanceId": {
|
|
4191
|
+
"attr": "data-component-id",
|
|
4192
|
+
"sourceProp": "id"
|
|
4193
|
+
},
|
|
4194
|
+
"item": {
|
|
4195
|
+
"attr": "data-tab-id"
|
|
3485
4196
|
}
|
|
3486
4197
|
}
|
|
3487
4198
|
},
|
|
@@ -3809,7 +4520,7 @@
|
|
|
3809
4520
|
"type": "string"
|
|
3810
4521
|
},
|
|
3811
4522
|
"idempotent": false,
|
|
3812
|
-
"description": "Add a new tab capturing the table's current filter model, and activate it. Returns the new tab id.",
|
|
4523
|
+
"description": "Add a new tab capturing the table's current filter model, and activate it. Returns the new tab id. Does nothing when the host turned adding off (allowAdd) and returns the active tab id.",
|
|
3813
4524
|
"descriptionKey": "ui.agent.dataTableTabs.actions.addTab"
|
|
3814
4525
|
},
|
|
3815
4526
|
{
|
|
@@ -3834,7 +4545,7 @@
|
|
|
3834
4545
|
]
|
|
3835
4546
|
},
|
|
3836
4547
|
"idempotent": true,
|
|
3837
|
-
"description": "Rename a saved-filter tab. No-op on locked tabs and
|
|
4548
|
+
"description": "Rename a saved-filter tab. No-op on locked tabs, empty labels, and when the host turned renaming off (allowRename).",
|
|
3838
4549
|
"descriptionKey": "ui.agent.dataTableTabs.actions.renameTab"
|
|
3839
4550
|
},
|
|
3840
4551
|
{
|