@adapttable/element-plus 0.3.2 → 0.4.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/{ElementCheckbox-BewKx6sv.cjs → ElementCheckbox-BXSH2jHY.cjs} +19 -13
- package/dist/ElementCheckbox-BXSH2jHY.cjs.map +1 -0
- package/dist/{ElementCheckbox-BQN4_eas.js → ElementCheckbox-DobrxadY.js} +21 -15
- package/dist/ElementCheckbox-DobrxadY.js.map +1 -0
- package/dist/{ElementColumnMenuPanel-D9oWJf02.js → ElementColumnMenuPanel-CPW4wU3M.js} +5 -5
- package/dist/ElementColumnMenuPanel-CPW4wU3M.js.map +1 -0
- package/dist/{ElementColumnMenuPanel-DavsUQAR.cjs → ElementColumnMenuPanel-Ddh01A17.cjs} +3 -3
- package/dist/ElementColumnMenuPanel-Ddh01A17.cjs.map +1 -0
- package/dist/{ElementFilterHeaderRow-C3N5F-sW.cjs → ElementFilterHeaderRow-D8ZZ3BOH.cjs} +32 -16
- package/dist/ElementFilterHeaderRow-D8ZZ3BOH.cjs.map +1 -0
- package/dist/{ElementFilterHeaderRow-qiv68upK.js → ElementFilterHeaderRow-DGp4Wrts.js} +33 -17
- package/dist/ElementFilterHeaderRow-DGp4Wrts.js.map +1 -0
- package/dist/ElementFilterHeaderRow.vue-aMWpPgI9.d.cts.map +1 -1
- package/dist/ElementFilterHeaderRow.vue-aMWpPgI9.d.ts.map +1 -1
- package/dist/{ElementFilterSurface-CUpyLfPF.cjs → ElementFilterSurface-CUgNfyWW.cjs} +8 -9
- package/dist/ElementFilterSurface-CUgNfyWW.cjs.map +1 -0
- package/dist/{ElementFilterSurface-CztEiJ0k.js → ElementFilterSurface-CiOApO3l.js} +10 -11
- package/dist/ElementFilterSurface-CiOApO3l.js.map +1 -0
- package/dist/{ElementInput-vBVDBaLp.cjs → ElementInput-BF97xXSC.cjs} +12 -7
- package/dist/ElementInput-BF97xXSC.cjs.map +1 -0
- package/dist/{ElementInput-BsoAvPfO.js → ElementInput-Cn9hpa9j.js} +13 -8
- package/dist/ElementInput-Cn9hpa9j.js.map +1 -0
- package/dist/{ElementRowActions-BKfX2XRn.js → ElementRowActions-CUlFbY6s.js} +5 -5
- package/dist/ElementRowActions-CUlFbY6s.js.map +1 -0
- package/dist/{ElementRowActions-B_rR7qSj.cjs → ElementRowActions-ClYC3Ssq.cjs} +5 -5
- package/dist/ElementRowActions-ClYC3Ssq.cjs.map +1 -0
- package/dist/{ElementSelect-CvGw_zHh.cjs → ElementSelect-1UwtGCCr.cjs} +13 -8
- package/dist/ElementSelect-1UwtGCCr.cjs.map +1 -0
- package/dist/{ElementSelect-BtmVMA7B.js → ElementSelect-BxFmnPpv.js} +14 -9
- package/dist/ElementSelect-BxFmnPpv.js.map +1 -0
- package/dist/{assistant-B27ZguV8.cjs → assistant-D4l4OdXN.cjs} +3 -3
- package/dist/{assistant-B27ZguV8.cjs.map → assistant-D4l4OdXN.cjs.map} +1 -1
- package/dist/{assistant-BPwGaQnx.js → assistant-DRDxJajO.js} +3 -3
- package/dist/{assistant-BPwGaQnx.js.map → assistant-DRDxJajO.js.map} +1 -1
- package/dist/assistant.cjs +1 -1
- package/dist/assistant.js +1 -1
- package/dist/batch-editing.cjs +1 -1
- package/dist/batch-editing.js +1 -1
- package/dist/{cell-navigation-BXE28fwQ.cjs → cell-navigation-DJ-_1Mjr.cjs} +2 -2
- package/dist/{cell-navigation-BXE28fwQ.cjs.map → cell-navigation-DJ-_1Mjr.cjs.map} +1 -1
- package/dist/{cell-navigation-THnr6YdK.js → cell-navigation-arDY86xD.js} +2 -2
- package/dist/{cell-navigation-THnr6YdK.js.map → cell-navigation-arDY86xD.js.map} +1 -1
- package/dist/cell-navigation.cjs +1 -1
- package/dist/cell-navigation.js +1 -1
- package/dist/{checkbox-DhUYYwWe.cjs → checkbox-BF19iMgI.cjs} +2 -2
- package/dist/{checkbox-DhUYYwWe.cjs.map → checkbox-BF19iMgI.cjs.map} +1 -1
- package/dist/{column-menu-Dna4oiPc.js → column-menu-BUxMPyJI.js} +7 -8
- package/dist/column-menu-BUxMPyJI.js.map +1 -0
- package/dist/{column-menu-C0YWdhRz.d.ts → column-menu-CAkx6AjR.d.ts} +5 -6
- package/dist/column-menu-CAkx6AjR.d.ts.map +1 -0
- package/dist/{column-menu-BUiQUex0.d.cts → column-menu-DsL_xeEM.d.cts} +5 -6
- package/dist/column-menu-DsL_xeEM.d.cts.map +1 -0
- package/dist/{column-menu-CNxXJ-ra.cjs → column-menu-jNw7kuxp.cjs} +6 -7
- package/dist/column-menu-jNw7kuxp.cjs.map +1 -0
- package/dist/column-menu.cjs +1 -1
- package/dist/column-menu.d.cts +1 -1
- package/dist/column-menu.d.ts +1 -1
- package/dist/column-menu.js +1 -1
- package/dist/column-selection.cjs +1 -1
- package/dist/column-selection.js +1 -1
- package/dist/command-palette.cjs +1 -1
- package/dist/command-palette.js +1 -1
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.js +1 -1
- package/dist/{density-Bj1pck4x.cjs → density-CJLZxF1h.cjs} +2 -2
- package/dist/density-CJLZxF1h.cjs.map +1 -0
- package/dist/{density-ChRp0NG3.js → density-OeJSiWSC.js} +4 -4
- package/dist/density-OeJSiWSC.js.map +1 -0
- package/dist/density.cjs +1 -1
- package/dist/density.js +1 -1
- package/dist/{editing-9371TGFz.cjs → editing-Bhw_4VG8.cjs} +16 -16
- package/dist/editing-Bhw_4VG8.cjs.map +1 -0
- package/dist/editing-BnLdNDlo.d.ts.map +1 -1
- package/dist/editing-Cg6ZNvSa.d.cts.map +1 -1
- package/dist/{editing-B_HAxfh4.js → editing-DHjzbw-I.js} +18 -18
- package/dist/editing-DHjzbw-I.js.map +1 -0
- package/dist/editing.cjs +1 -1
- package/dist/editing.js +1 -1
- package/dist/{elementHierarchyControlSlots-Ctcmq3T2.js → elementHierarchyControlSlots-21LL1wEw.js} +4 -4
- package/dist/{elementHierarchyControlSlots-Ctcmq3T2.js.map → elementHierarchyControlSlots-21LL1wEw.js.map} +1 -1
- package/dist/{elementRemainingControls-BPGBbbUF.js → elementRemainingControls-6tN9tgWx.js} +6 -6
- package/dist/elementRemainingControls-6tN9tgWx.js.map +1 -0
- package/dist/{elementRemainingControls-CtY2jZWN.cjs → elementRemainingControls-DvVVLXE0.cjs} +4 -4
- package/dist/elementRemainingControls-DvVVLXE0.cjs.map +1 -0
- package/dist/export-csv-DRDjZuQj.d.cts +9 -0
- package/dist/export-csv-DRDjZuQj.d.cts.map +1 -0
- package/dist/export-csv-VyICO_s0.d.ts +9 -0
- package/dist/export-csv-VyICO_s0.d.ts.map +1 -0
- package/dist/export-csv.cjs +11 -0
- package/dist/export-csv.cjs.map +1 -0
- package/dist/export-csv.d.cts +2 -0
- package/dist/export-csv.d.ts +2 -0
- package/dist/export-csv.js +10 -0
- package/dist/export-csv.js.map +1 -0
- package/dist/export-pdf.cjs +53 -0
- package/dist/export-pdf.cjs.map +1 -0
- package/dist/export-pdf.d.cts +8 -0
- package/dist/export-pdf.d.cts.map +1 -0
- package/dist/export-pdf.d.ts +8 -0
- package/dist/export-pdf.d.ts.map +1 -0
- package/dist/export-pdf.js +10 -0
- package/dist/export-pdf.js.map +1 -0
- package/dist/export-xlsx.cjs +23 -0
- package/dist/export-xlsx.cjs.map +1 -0
- package/dist/export-xlsx.d.cts +8 -0
- package/dist/export-xlsx.d.cts.map +1 -0
- package/dist/export-xlsx.d.ts +8 -0
- package/dist/export-xlsx.d.ts.map +1 -0
- package/dist/export-xlsx.js +10 -0
- package/dist/export-xlsx.js.map +1 -0
- package/dist/export.cjs +2 -2
- package/dist/export.d.cts +2 -8
- package/dist/export.d.ts +2 -8
- package/dist/export.js +1 -1
- package/dist/features.cjs +16 -15
- package/dist/features.d.cts +4 -3
- package/dist/features.d.ts +4 -3
- package/dist/features.js +15 -14
- package/dist/{filters-BMS9STAJ.js → filters-87q6jAVU.js} +73 -73
- package/dist/filters-87q6jAVU.js.map +1 -0
- package/dist/{filters-BYHvvws9.d.cts → filters-BySwxJJ0.d.cts} +9 -11
- package/dist/filters-BySwxJJ0.d.cts.map +1 -0
- package/dist/{filters-BuzAGNaj.cjs → filters-bdHAQnex.cjs} +72 -72
- package/dist/filters-bdHAQnex.cjs.map +1 -0
- package/dist/{filters-BJDFrg_k.d.ts → filters-iRpu_mXa.d.ts} +9 -11
- package/dist/filters-iRpu_mXa.d.ts.map +1 -0
- package/dist/filters.cjs +2 -2
- package/dist/filters.d.cts +1 -1
- package/dist/filters.d.ts +1 -1
- package/dist/filters.js +2 -2
- package/dist/{find-in-table--8ZBYijC.js → find-in-table-B9ySCCJh.js} +2 -2
- package/dist/{find-in-table--8ZBYijC.js.map → find-in-table-B9ySCCJh.js.map} +1 -1
- package/dist/{find-in-table-DOn2Hua1.cjs → find-in-table-WtXzIkkg.cjs} +2 -2
- package/dist/{find-in-table-DOn2Hua1.cjs.map → find-in-table-WtXzIkkg.cjs.map} +1 -1
- package/dist/find-in-table.cjs +1 -1
- package/dist/find-in-table.js +1 -1
- package/dist/{grouping-panel-CscefKyP.js → grouping-panel-B7j8sSpT.js} +3 -3
- package/dist/{grouping-panel-CscefKyP.js.map → grouping-panel-B7j8sSpT.js.map} +1 -1
- package/dist/{grouping-panel-C_QWRh_Q.cjs → grouping-panel-B_ibl915.cjs} +3 -3
- package/dist/{grouping-panel-C_QWRh_Q.cjs.map → grouping-panel-B_ibl915.cjs.map} +1 -1
- package/dist/grouping-panel.cjs +1 -1
- package/dist/grouping-panel.js +1 -1
- package/dist/grouping.cjs +2 -2
- package/dist/grouping.cjs.map +1 -1
- package/dist/grouping.js +2 -2
- package/dist/grouping.js.map +1 -1
- package/dist/header-filters-B2B5RqQS.d.ts.map +1 -1
- package/dist/{header-filters-BDSKDeJ9.cjs → header-filters-Cu7t_2IW.cjs} +8 -5
- package/dist/header-filters-Cu7t_2IW.cjs.map +1 -0
- package/dist/{header-filters-FQFlnVM9.js → header-filters-DUZI1x70.js} +9 -6
- package/dist/header-filters-DUZI1x70.js.map +1 -0
- package/dist/header-filters-hGm_7LFO.d.cts.map +1 -1
- package/dist/header-filters.cjs +2 -2
- package/dist/header-filters.js +2 -2
- package/dist/index.cjs +110 -48
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +113 -51
- package/dist/index.js.map +1 -1
- package/dist/pivot.cjs +4 -5
- package/dist/pivot.cjs.map +1 -1
- package/dist/pivot.d.cts +3 -4
- package/dist/pivot.d.cts.map +1 -1
- package/dist/pivot.d.ts +3 -4
- package/dist/pivot.d.ts.map +1 -1
- package/dist/pivot.js +5 -6
- package/dist/pivot.js.map +1 -1
- package/dist/preset.cjs +9 -8
- package/dist/preset.cjs.map +1 -1
- package/dist/preset.js +8 -7
- package/dist/preset.js.map +1 -1
- package/dist/row-actions.cjs +1 -1
- package/dist/row-actions.js +1 -1
- package/dist/row-pinning.cjs +1 -1
- package/dist/row-pinning.js +1 -1
- package/dist/{row-reorder-kuiFvbsM.js → row-reorder-BYwX3CBP.js} +4 -4
- package/dist/row-reorder-BYwX3CBP.js.map +1 -0
- package/dist/{row-reorder-BNscjPNy.cjs → row-reorder-MSR2yDN6.cjs} +2 -2
- package/dist/row-reorder-MSR2yDN6.cjs.map +1 -0
- package/dist/row-reorder.cjs +1 -1
- package/dist/row-reorder.js +1 -1
- package/dist/rowActionsSlot-CdnzwBmt.js.map +1 -1
- package/dist/rowActionsSlot-Ps5hHI6n.cjs.map +1 -1
- package/dist/{saved-views-DW8WybwV.js → saved-views-DDo4Bl-f.js} +3 -3
- package/dist/{saved-views-DW8WybwV.js.map → saved-views-DDo4Bl-f.js.map} +1 -1
- package/dist/{saved-views-BTJxWOyY.cjs → saved-views-luZVHu3w.cjs} +3 -3
- package/dist/{saved-views-BTJxWOyY.cjs.map → saved-views-luZVHu3w.cjs.map} +1 -1
- package/dist/saved-views.cjs +1 -1
- package/dist/saved-views.js +1 -1
- package/dist/{scrollbarGutter-B-QczwA9.cjs → scrollbarGutter-CV4T0Q-9.cjs} +2 -2
- package/dist/{scrollbarGutter-B-QczwA9.cjs.map → scrollbarGutter-CV4T0Q-9.cjs.map} +1 -1
- package/dist/{scrollbarGutter-BNp0-4l1.js → scrollbarGutter-D9pkb_r0.js} +2 -2
- package/dist/{scrollbarGutter-BNp0-4l1.js.map → scrollbarGutter-D9pkb_r0.js.map} +1 -1
- package/dist/side-panel.cjs +1 -1
- package/dist/side-panel.js +1 -1
- package/dist/styles.css +33 -3
- package/dist/{export-DR1t4N5Q.js → withElementExport-B97s6RIr.js} +6 -6
- package/dist/withElementExport-B97s6RIr.js.map +1 -0
- package/dist/{export-CL36qPVY.cjs → withElementExport-J-6vXfL9.cjs} +7 -7
- package/dist/withElementExport-J-6vXfL9.cjs.map +1 -0
- package/package.json +33 -4
- package/dist/ElementCheckbox-BQN4_eas.js.map +0 -1
- package/dist/ElementCheckbox-BewKx6sv.cjs.map +0 -1
- package/dist/ElementColumnMenuPanel-D9oWJf02.js.map +0 -1
- package/dist/ElementColumnMenuPanel-DavsUQAR.cjs.map +0 -1
- package/dist/ElementFilterHeaderRow-C3N5F-sW.cjs.map +0 -1
- package/dist/ElementFilterHeaderRow-qiv68upK.js.map +0 -1
- package/dist/ElementFilterSurface-CUpyLfPF.cjs.map +0 -1
- package/dist/ElementFilterSurface-CztEiJ0k.js.map +0 -1
- package/dist/ElementInput-BsoAvPfO.js.map +0 -1
- package/dist/ElementInput-vBVDBaLp.cjs.map +0 -1
- package/dist/ElementRowActions-BKfX2XRn.js.map +0 -1
- package/dist/ElementRowActions-B_rR7qSj.cjs.map +0 -1
- package/dist/ElementSelect-BtmVMA7B.js.map +0 -1
- package/dist/ElementSelect-CvGw_zHh.cjs.map +0 -1
- package/dist/column-menu-BUiQUex0.d.cts.map +0 -1
- package/dist/column-menu-C0YWdhRz.d.ts.map +0 -1
- package/dist/column-menu-CNxXJ-ra.cjs.map +0 -1
- package/dist/column-menu-Dna4oiPc.js.map +0 -1
- package/dist/density-Bj1pck4x.cjs.map +0 -1
- package/dist/density-ChRp0NG3.js.map +0 -1
- package/dist/editing-9371TGFz.cjs.map +0 -1
- package/dist/editing-B_HAxfh4.js.map +0 -1
- package/dist/elementRemainingControls-BPGBbbUF.js.map +0 -1
- package/dist/elementRemainingControls-CtY2jZWN.cjs.map +0 -1
- package/dist/export-CL36qPVY.cjs.map +0 -1
- package/dist/export-DR1t4N5Q.js.map +0 -1
- package/dist/export.d.cts.map +0 -1
- package/dist/export.d.ts.map +0 -1
- package/dist/filters-BJDFrg_k.d.ts.map +0 -1
- package/dist/filters-BMS9STAJ.js.map +0 -1
- package/dist/filters-BYHvvws9.d.cts.map +0 -1
- package/dist/filters-BuzAGNaj.cjs.map +0 -1
- package/dist/header-filters-BDSKDeJ9.cjs.map +0 -1
- package/dist/header-filters-FQFlnVM9.js.map +0 -1
- package/dist/row-reorder-BNscjPNy.cjs.map +0 -1
- package/dist/row-reorder-kuiFvbsM.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elementRemainingControls-6tN9tgWx.js","names":["ElementInput"],"sources":["../src/actions/ElementCommandSurface.ts","../src/actions/ElementContextSurface.ts","../src/actions/elementRemainingControls.ts"],"sourcesContent":["import {\n type ManagedCommandPaletteSurfaceProps,\n useScopeActivity,\n} from \"@adapttable/vue/adapter\";\nimport { ElDialog } from \"element-plus\";\nimport { defineComponent, h, type PropType, shallowRef } from \"vue\";\n/** ElDialog owns focus trapping, Escape and outside dismissal. */\nexport const ElementCommandSurface = defineComponent(\n (props: {\n readonly control: ManagedCommandPaletteSurfaceProps;\n readonly container?: HTMLElement;\n readonly dir?: \"ltr\" | \"rtl\";\n }) => {\n const active = useScopeActivity();\n const body = shallowRef<HTMLElement | null>(null);\n return () => {\n const owner = props.control;\n return h(\n ElDialog,\n {\n modelValue: active.value && owner.open && owner.isCurrent(),\n title: owner.label,\n class: owner.className,\n dir: props.dir,\n appendTo: props.container ?? \"body\",\n appendToBody: true,\n width: \"min(32rem, calc(100vw - 2rem))\",\n destroyOnClose: true,\n showClose: false,\n closeOnClickModal: true,\n closeOnPressEscape: true,\n beforeClose: () => {\n if (active.value && owner.isCurrent()) owner.onClose();\n },\n },\n {\n default: () =>\n h(\"div\", { ref: body, \"data-adapttable-part\": \"command-palette\" }, [\n owner.children,\n ]),\n }\n );\n };\n },\n {\n name: \"ElementCommandSurface\",\n props: {\n control: { type: Object as PropType<ManagedCommandPaletteSurfaceProps> },\n container: { type: Object as PropType<HTMLElement | undefined> },\n dir: { type: String as PropType<(\"ltr\" | \"rtl\") | undefined> },\n },\n }\n);\n","import {\n type ContextMenuSurfaceProps,\n scheduleTick,\n useScopeActivity,\n} from \"@adapttable/vue/adapter\";\nimport {\n type DropdownInstance,\n ElDropdown,\n ElDropdownMenu,\n} from \"element-plus\";\nimport {\n defineComponent,\n h,\n onScopeDispose,\n type PropType,\n shallowRef,\n type VNodeChild,\n watch,\n} from \"vue\";\n\n/** The public dropdown API synchronizes the primitive with the binding's open session. */\nexport const ElementContextSurface = defineComponent(\n (\n props: ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n }\n ) => {\n const active = useScopeActivity();\n const control = shallowRef<DropdownInstance>();\n let live = true;\n let generation = 0;\n onScopeDispose(() => {\n live = false;\n generation++;\n });\n const virtualAnchor = {\n getBoundingClientRect: () => new DOMRect(props.at.x, props.at.y, 0, 0),\n get contextElement() {\n return props.anchorRef.current ?? undefined;\n },\n };\n watch(\n [active, () => props.at],\n () => {\n generation++;\n },\n { flush: \"sync\", immediate: true }\n );\n watch(\n [active, control, () => props.at],\n () => {\n const ticket = generation;\n scheduleTick(() => {\n if (live && active.value && ticket === generation)\n control.value?.handleOpen();\n else if (!active.value) control.value?.handleClose();\n });\n },\n { flush: \"post\", immediate: true }\n );\n return () => {\n if (!active.value) return null;\n const at = props.at;\n const ticket = generation;\n const onClose = props.onClose;\n const isCurrent = () =>\n live &&\n active.value &&\n ticket === generation &&\n props.at === at &&\n props.onClose === onClose;\n return h(\n ElDropdown,\n {\n ref: control,\n virtualTriggering: true,\n virtualRef: virtualAnchor,\n trigger: \"contextmenu\",\n role: \"menu\",\n showTimeout: 0,\n hideTimeout: 0,\n hideOnClick: false,\n placement: \"bottom-start\",\n appendTo: props.container ?? \"body\",\n teleported: true,\n persistent: false,\n showArrow: false,\n maxHeight: \"min(70vh, 32rem)\",\n popperStyle: { maxWidth: \"calc(100vw - 1rem)\" },\n onVisibleChange: (visible: boolean) => {\n if (visible || !isCurrent()) return;\n onClose();\n // A rejected controlled close keeps the same native session open.\n scheduleTick(() => {\n if (isCurrent()) control.value?.handleOpen();\n });\n },\n },\n {\n dropdown: () =>\n h(\n ElDropdownMenu,\n {\n \"aria-label\": props.label,\n class: props.className,\n dir: props.dir,\n \"data-adapttable-part\": \"context-menu\",\n onKeydown: (event: KeyboardEvent) => {\n if (\n !isCurrent() ||\n event.key !== \"Escape\" ||\n event.defaultPrevented ||\n event.isComposing ||\n !(event.target instanceof Element) ||\n event.target.closest('[role=\"menu\"]') !==\n event.currentTarget\n )\n return;\n event.preventDefault();\n event.stopPropagation();\n control.value?.handleClose();\n },\n onFocus: (event: FocusEvent) => {\n if (\n !isCurrent() ||\n event.target !== event.currentTarget ||\n !(event.currentTarget instanceof HTMLElement)\n )\n return;\n event.currentTarget\n .querySelector<HTMLElement>(\n '[role=\"menuitem\"]:not([aria-disabled=\"true\"])'\n )\n ?.focus();\n },\n },\n { default: () => props.children }\n ),\n }\n );\n };\n },\n {\n name: \"ElementContextSurface\",\n props: {\n at: {\n type: Object as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"at\"]\n >,\n },\n anchorRef: {\n type: Object as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"anchorRef\"]\n >,\n },\n label: {\n type: String as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"label\"]\n >,\n },\n onClose: {\n type: Function as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"onClose\"]\n >,\n },\n container: {\n type: Object as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"container\"]\n >,\n },\n children: {\n type: [String, Number, Boolean, Array, Object] as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"children\"]\n >,\n default: undefined,\n },\n className: {\n type: String as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"className\"]\n >,\n },\n dir: {\n type: String as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"dir\"]\n >,\n },\n },\n }\n);\n","import {\n type ActionButton,\n type CommandPaletteSlots,\n type ContextMenuSlots,\n managedCommandPaletteSurface,\n type SidePanelSlots,\n toVueAttrs,\n} from \"@adapttable/vue/adapter\";\nimport { ElDivider, ElDropdownItem } from \"element-plus\";\nimport { h } from \"vue\";\n\nimport { elementButton } from \"../controls/button\";\nimport ElementInput from \"../controls/ElementInput.vue\";\nimport { ElementCard } from \"../presentation/ElementCard\";\nimport { ElementCommandSurface } from \"./ElementCommandSurface\";\nimport { ElementContextSurface } from \"./ElementContextSurface\";\nexport const elementActionButton = ({ attrs, label, icon }: ActionButton) =>\n elementButton(attrs, [icon, label]);\nexport const elementPaletteSlots = (\n names: () => Readonly<Record<string, string | undefined>> = () => ({}),\n container: () => HTMLElement | undefined = () => undefined,\n dir: () => \"ltr\" | \"rtl\" | undefined = () => undefined\n): CommandPaletteSlots => ({\n Surface: managedCommandPaletteSurface((control) =>\n h(ElementCommandSurface, { control, container: container(), dir: dir() })\n ),\n Input: ({ inputProps }) => {\n const { onChange, ref, value, ...attrs } = inputProps;\n return h(ElementInput, {\n ...toVueAttrs(attrs),\n value,\n inputRef: (element) => {\n if (element instanceof HTMLInputElement || element === null)\n ref(element);\n },\n class: names().commandInput,\n onChange,\n });\n },\n Item: ({ command, itemProps }) =>\n elementButton(\n {\n ...toVueAttrs(itemProps),\n class: names().commandItem,\n type: \"button\",\n tabindex: -1,\n disabled: command.disabled,\n },\n command.label\n ),\n Empty: ({ message }) =>\n h(\n \"p\",\n { \"data-adapttable-part\": \"command-empty\", class: names().commandEmpty },\n message\n ),\n});\nexport const elementContextMenuSlots = (\n names: () => Readonly<Record<string, string | undefined>> = () => ({}),\n dir: () => \"ltr\" | \"rtl\" | undefined = () => undefined\n): ContextMenuSlots => ({\n Surface: (props) => h(ElementContextSurface, { ...props, dir: dir() }),\n Item: ({ item, onSelect }) =>\n h(\n ElDropdownItem,\n {\n disabled: item.disabled,\n textValue: item.label,\n \"aria-disabled\": item.disabled,\n \"data-danger\": item.danger ? \"\" : undefined,\n \"data-adapttable-part\": \"context-menu-item\",\n class: names().contextMenuItem,\n onClick: onSelect,\n },\n { default: () => item.label }\n ),\n Separator: () =>\n h(ElDivider, {\n role: \"separator\",\n \"data-adapttable-part\": \"context-menu-separator\",\n class: names().contextMenuSeparator,\n }),\n});\nexport const elementSidePanelSlots = (\n names: () => Readonly<Record<string, string | undefined>> = () => ({})\n): SidePanelSlots => {\n let closeChoice: (() => void) | undefined;\n return {\n Frame: (props) => {\n const close = closeChoice;\n return h(\n ElementCard,\n {\n attrs: {\n \"data-adapttable-part\": \"side-panel\",\n class: props.className,\n \"data-side\": props.side,\n style: { minWidth: \"min(18rem,100%)\", maxWidth: \"100%\" },\n onKeydownCapture: (event: KeyboardEvent) => {\n const target = event.target;\n // ElSelect stops Escape even while closed; forward that case to the\n // binding's current close callback before the native event is consumed.\n if (\n event.key === \"Escape\" &&\n !event.defaultPrevented &&\n !event.isComposing &&\n target instanceof Element &&\n target.getAttribute(\"role\") === \"combobox\" &&\n target.getAttribute(\"aria-expanded\") === \"false\" &&\n !target.closest('[role=\"dialog\"],[role=\"menu\"]')\n ) {\n event.preventDefault();\n event.stopPropagation();\n close?.();\n }\n },\n },\n },\n { default: () => props.children }\n );\n },\n Tab: (props) =>\n elementButton(\n { ...toVueAttrs(props.buttonProps), class: names().sidePanelTab },\n props.panel.label\n ),\n Close: (props) => {\n closeChoice = props.onClose;\n return elementButton(\n {\n type: \"button\",\n \"aria-label\": props.label,\n \"data-adapttable-part\": \"side-panel-close\",\n class: names().sidePanelClose,\n onClick: props.onClose,\n },\n props.label\n );\n },\n };\n};\n"],"mappings":";;;;;;;;AAOA,MAAa,wBAAwB,iBAClC,UAIK;CACJ,MAAM,SAAS,iBAAiB;CAChC,MAAM,OAAO,WAA+B,IAAI;CAChD,aAAa;EACX,MAAM,QAAQ,MAAM;EACpB,OAAO,EACL,UACA;GACE,YAAY,OAAO,SAAS,MAAM,QAAQ,MAAM,UAAU;GAC1D,OAAO,MAAM;GACb,OAAO,MAAM;GACb,KAAK,MAAM;GACX,UAAU,MAAM,aAAa;GAC7B,cAAc;GACd,OAAO;GACP,gBAAgB;GAChB,WAAW;GACX,mBAAmB;GACnB,oBAAoB;GACpB,mBAAmB;IACjB,IAAI,OAAO,SAAS,MAAM,UAAU,GAAG,MAAM,QAAQ;GACvD;EACF,GACA,EACE,eACE,EAAE,OAAO;GAAE,KAAK;GAAM,wBAAwB;EAAkB,GAAG,CACjE,MAAM,QACR,CAAC,EACL,CACF;CACF;AACF,GACA;CACE,MAAM;CACN,OAAO;EACL,SAAS,EAAE,MAAM,OAAsD;EACvE,WAAW,EAAE,MAAM,OAA4C;EAC/D,KAAK,EAAE,MAAM,OAAgD;CAC/D;AACF,CACF;;;;AC/BA,MAAa,wBAAwB,iBAEjC,UAGG;CACH,MAAM,SAAS,iBAAiB;CAChC,MAAM,UAAU,WAA6B;CAC7C,IAAI,OAAO;CACX,IAAI,aAAa;CACjB,qBAAqB;EACnB,OAAO;EACP;CACF,CAAC;CACD,MAAM,gBAAgB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AE,GAAG,WAAW,MAAM,WAAW;GAAG,OAAO,MAAM,CAAC,CAAC;EAAa,GAChE,MAAM,MAAM,KACd;EACF,QAAQ,UAAU;GAChB,cAAc,MAAM;GACpB,OAAO,cACL;IACE,MAAM;IACN,cAAc,MAAM;IACpB,wBAAwB;IACxB,OAAO,MAAM,CAAC,CAAC;IACf,SAAS,MAAM;GACjB,GACA,MAAM,KACR;EACF;CACF;AACF"}
|
package/dist/{elementRemainingControls-CtY2jZWN.cjs → elementRemainingControls-DvVVLXE0.cjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_button = require("./button-BFjBL9m3.cjs");
|
|
2
|
-
const require_ElementInput = require("./ElementInput-
|
|
2
|
+
const require_ElementInput = require("./ElementInput-BF97xXSC.cjs");
|
|
3
3
|
const require_ElementCard = require("./ElementCard-BRZekaHr.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
let _adapttable_vue_adapter = require("@adapttable/vue/adapter");
|
|
@@ -69,7 +69,7 @@ const ElementContextSurface = (0, vue.defineComponent)((props) => {
|
|
|
69
69
|
() => props.at
|
|
70
70
|
], () => {
|
|
71
71
|
const ticket = generation;
|
|
72
|
-
(0,
|
|
72
|
+
(0, _adapttable_vue_adapter.scheduleTick)(() => {
|
|
73
73
|
if (live && active.value && ticket === generation) control.value?.handleOpen();
|
|
74
74
|
else if (!active.value) control.value?.handleClose();
|
|
75
75
|
});
|
|
@@ -102,7 +102,7 @@ const ElementContextSurface = (0, vue.defineComponent)((props) => {
|
|
|
102
102
|
onVisibleChange: (visible) => {
|
|
103
103
|
if (visible || !isCurrent()) return;
|
|
104
104
|
onClose();
|
|
105
|
-
(0,
|
|
105
|
+
(0, _adapttable_vue_adapter.scheduleTick)(() => {
|
|
106
106
|
if (isCurrent()) control.value?.handleOpen();
|
|
107
107
|
});
|
|
108
108
|
}
|
|
@@ -263,4 +263,4 @@ Object.defineProperty(exports, "elementSidePanelSlots", {
|
|
|
263
263
|
}
|
|
264
264
|
});
|
|
265
265
|
|
|
266
|
-
//# sourceMappingURL=elementRemainingControls-
|
|
266
|
+
//# sourceMappingURL=elementRemainingControls-DvVVLXE0.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elementRemainingControls-DvVVLXE0.cjs","names":["defineComponent","useScopeActivity","shallowRef","h","ElDialog","defineComponent","useScopeActivity","shallowRef","h","ElDropdown","ElDropdownMenu","elementButton","managedCommandPaletteSurface","h","ElementInput","toVueAttrs","ElDropdownItem","ElDivider","ElementCard"],"sources":["../src/actions/ElementCommandSurface.ts","../src/actions/ElementContextSurface.ts","../src/actions/elementRemainingControls.ts"],"sourcesContent":["import {\n type ManagedCommandPaletteSurfaceProps,\n useScopeActivity,\n} from \"@adapttable/vue/adapter\";\nimport { ElDialog } from \"element-plus\";\nimport { defineComponent, h, type PropType, shallowRef } from \"vue\";\n/** ElDialog owns focus trapping, Escape and outside dismissal. */\nexport const ElementCommandSurface = defineComponent(\n (props: {\n readonly control: ManagedCommandPaletteSurfaceProps;\n readonly container?: HTMLElement;\n readonly dir?: \"ltr\" | \"rtl\";\n }) => {\n const active = useScopeActivity();\n const body = shallowRef<HTMLElement | null>(null);\n return () => {\n const owner = props.control;\n return h(\n ElDialog,\n {\n modelValue: active.value && owner.open && owner.isCurrent(),\n title: owner.label,\n class: owner.className,\n dir: props.dir,\n appendTo: props.container ?? \"body\",\n appendToBody: true,\n width: \"min(32rem, calc(100vw - 2rem))\",\n destroyOnClose: true,\n showClose: false,\n closeOnClickModal: true,\n closeOnPressEscape: true,\n beforeClose: () => {\n if (active.value && owner.isCurrent()) owner.onClose();\n },\n },\n {\n default: () =>\n h(\"div\", { ref: body, \"data-adapttable-part\": \"command-palette\" }, [\n owner.children,\n ]),\n }\n );\n };\n },\n {\n name: \"ElementCommandSurface\",\n props: {\n control: { type: Object as PropType<ManagedCommandPaletteSurfaceProps> },\n container: { type: Object as PropType<HTMLElement | undefined> },\n dir: { type: String as PropType<(\"ltr\" | \"rtl\") | undefined> },\n },\n }\n);\n","import {\n type ContextMenuSurfaceProps,\n scheduleTick,\n useScopeActivity,\n} from \"@adapttable/vue/adapter\";\nimport {\n type DropdownInstance,\n ElDropdown,\n ElDropdownMenu,\n} from \"element-plus\";\nimport {\n defineComponent,\n h,\n onScopeDispose,\n type PropType,\n shallowRef,\n type VNodeChild,\n watch,\n} from \"vue\";\n\n/** The public dropdown API synchronizes the primitive with the binding's open session. */\nexport const ElementContextSurface = defineComponent(\n (\n props: ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n }\n ) => {\n const active = useScopeActivity();\n const control = shallowRef<DropdownInstance>();\n let live = true;\n let generation = 0;\n onScopeDispose(() => {\n live = false;\n generation++;\n });\n const virtualAnchor = {\n getBoundingClientRect: () => new DOMRect(props.at.x, props.at.y, 0, 0),\n get contextElement() {\n return props.anchorRef.current ?? undefined;\n },\n };\n watch(\n [active, () => props.at],\n () => {\n generation++;\n },\n { flush: \"sync\", immediate: true }\n );\n watch(\n [active, control, () => props.at],\n () => {\n const ticket = generation;\n scheduleTick(() => {\n if (live && active.value && ticket === generation)\n control.value?.handleOpen();\n else if (!active.value) control.value?.handleClose();\n });\n },\n { flush: \"post\", immediate: true }\n );\n return () => {\n if (!active.value) return null;\n const at = props.at;\n const ticket = generation;\n const onClose = props.onClose;\n const isCurrent = () =>\n live &&\n active.value &&\n ticket === generation &&\n props.at === at &&\n props.onClose === onClose;\n return h(\n ElDropdown,\n {\n ref: control,\n virtualTriggering: true,\n virtualRef: virtualAnchor,\n trigger: \"contextmenu\",\n role: \"menu\",\n showTimeout: 0,\n hideTimeout: 0,\n hideOnClick: false,\n placement: \"bottom-start\",\n appendTo: props.container ?? \"body\",\n teleported: true,\n persistent: false,\n showArrow: false,\n maxHeight: \"min(70vh, 32rem)\",\n popperStyle: { maxWidth: \"calc(100vw - 1rem)\" },\n onVisibleChange: (visible: boolean) => {\n if (visible || !isCurrent()) return;\n onClose();\n // A rejected controlled close keeps the same native session open.\n scheduleTick(() => {\n if (isCurrent()) control.value?.handleOpen();\n });\n },\n },\n {\n dropdown: () =>\n h(\n ElDropdownMenu,\n {\n \"aria-label\": props.label,\n class: props.className,\n dir: props.dir,\n \"data-adapttable-part\": \"context-menu\",\n onKeydown: (event: KeyboardEvent) => {\n if (\n !isCurrent() ||\n event.key !== \"Escape\" ||\n event.defaultPrevented ||\n event.isComposing ||\n !(event.target instanceof Element) ||\n event.target.closest('[role=\"menu\"]') !==\n event.currentTarget\n )\n return;\n event.preventDefault();\n event.stopPropagation();\n control.value?.handleClose();\n },\n onFocus: (event: FocusEvent) => {\n if (\n !isCurrent() ||\n event.target !== event.currentTarget ||\n !(event.currentTarget instanceof HTMLElement)\n )\n return;\n event.currentTarget\n .querySelector<HTMLElement>(\n '[role=\"menuitem\"]:not([aria-disabled=\"true\"])'\n )\n ?.focus();\n },\n },\n { default: () => props.children }\n ),\n }\n );\n };\n },\n {\n name: \"ElementContextSurface\",\n props: {\n at: {\n type: Object as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"at\"]\n >,\n },\n anchorRef: {\n type: Object as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"anchorRef\"]\n >,\n },\n label: {\n type: String as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"label\"]\n >,\n },\n onClose: {\n type: Function as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"onClose\"]\n >,\n },\n container: {\n type: Object as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"container\"]\n >,\n },\n children: {\n type: [String, Number, Boolean, Array, Object] as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"children\"]\n >,\n default: undefined,\n },\n className: {\n type: String as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"className\"]\n >,\n },\n dir: {\n type: String as PropType<\n (ContextMenuSurfaceProps<VNodeChild> & {\n readonly dir?: \"ltr\" | \"rtl\";\n })[\"dir\"]\n >,\n },\n },\n }\n);\n","import {\n type ActionButton,\n type CommandPaletteSlots,\n type ContextMenuSlots,\n managedCommandPaletteSurface,\n type SidePanelSlots,\n toVueAttrs,\n} from \"@adapttable/vue/adapter\";\nimport { ElDivider, ElDropdownItem } from \"element-plus\";\nimport { h } from \"vue\";\n\nimport { elementButton } from \"../controls/button\";\nimport ElementInput from \"../controls/ElementInput.vue\";\nimport { ElementCard } from \"../presentation/ElementCard\";\nimport { ElementCommandSurface } from \"./ElementCommandSurface\";\nimport { ElementContextSurface } from \"./ElementContextSurface\";\nexport const elementActionButton = ({ attrs, label, icon }: ActionButton) =>\n elementButton(attrs, [icon, label]);\nexport const elementPaletteSlots = (\n names: () => Readonly<Record<string, string | undefined>> = () => ({}),\n container: () => HTMLElement | undefined = () => undefined,\n dir: () => \"ltr\" | \"rtl\" | undefined = () => undefined\n): CommandPaletteSlots => ({\n Surface: managedCommandPaletteSurface((control) =>\n h(ElementCommandSurface, { control, container: container(), dir: dir() })\n ),\n Input: ({ inputProps }) => {\n const { onChange, ref, value, ...attrs } = inputProps;\n return h(ElementInput, {\n ...toVueAttrs(attrs),\n value,\n inputRef: (element) => {\n if (element instanceof HTMLInputElement || element === null)\n ref(element);\n },\n class: names().commandInput,\n onChange,\n });\n },\n Item: ({ command, itemProps }) =>\n elementButton(\n {\n ...toVueAttrs(itemProps),\n class: names().commandItem,\n type: \"button\",\n tabindex: -1,\n disabled: command.disabled,\n },\n command.label\n ),\n Empty: ({ message }) =>\n h(\n \"p\",\n { \"data-adapttable-part\": \"command-empty\", class: names().commandEmpty },\n message\n ),\n});\nexport const elementContextMenuSlots = (\n names: () => Readonly<Record<string, string | undefined>> = () => ({}),\n dir: () => \"ltr\" | \"rtl\" | undefined = () => undefined\n): ContextMenuSlots => ({\n Surface: (props) => h(ElementContextSurface, { ...props, dir: dir() }),\n Item: ({ item, onSelect }) =>\n h(\n ElDropdownItem,\n {\n disabled: item.disabled,\n textValue: item.label,\n \"aria-disabled\": item.disabled,\n \"data-danger\": item.danger ? \"\" : undefined,\n \"data-adapttable-part\": \"context-menu-item\",\n class: names().contextMenuItem,\n onClick: onSelect,\n },\n { default: () => item.label }\n ),\n Separator: () =>\n h(ElDivider, {\n role: \"separator\",\n \"data-adapttable-part\": \"context-menu-separator\",\n class: names().contextMenuSeparator,\n }),\n});\nexport const elementSidePanelSlots = (\n names: () => Readonly<Record<string, string | undefined>> = () => ({})\n): SidePanelSlots => {\n let closeChoice: (() => void) | undefined;\n return {\n Frame: (props) => {\n const close = closeChoice;\n return h(\n ElementCard,\n {\n attrs: {\n \"data-adapttable-part\": \"side-panel\",\n class: props.className,\n \"data-side\": props.side,\n style: { minWidth: \"min(18rem,100%)\", maxWidth: \"100%\" },\n onKeydownCapture: (event: KeyboardEvent) => {\n const target = event.target;\n // ElSelect stops Escape even while closed; forward that case to the\n // binding's current close callback before the native event is consumed.\n if (\n event.key === \"Escape\" &&\n !event.defaultPrevented &&\n !event.isComposing &&\n target instanceof Element &&\n target.getAttribute(\"role\") === \"combobox\" &&\n target.getAttribute(\"aria-expanded\") === \"false\" &&\n !target.closest('[role=\"dialog\"],[role=\"menu\"]')\n ) {\n event.preventDefault();\n event.stopPropagation();\n close?.();\n }\n },\n },\n },\n { default: () => props.children }\n );\n },\n Tab: (props) =>\n elementButton(\n { ...toVueAttrs(props.buttonProps), class: names().sidePanelTab },\n props.panel.label\n ),\n Close: (props) => {\n closeChoice = props.onClose;\n return elementButton(\n {\n type: \"button\",\n \"aria-label\": props.label,\n \"data-adapttable-part\": \"side-panel-close\",\n class: names().sidePanelClose,\n onClick: props.onClose,\n },\n props.label\n );\n },\n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QAAQ,YACd,CAAC,MAAM,oBACP,CAAC,MAAM,eACP,kBAAkB,WAClB,OAAO,aAAa,MAAM,MAAM,cAChC,OAAO,aAAa,eAAe,MAAM,WACzC,CAAC,OAAO,QAAQ,mCAA+B,GAC/C;MACA,MAAM,eAAe;MACrB,MAAM,gBAAgB;MACtB,QAAQ;KACV;IACF;GACF,EACF,GACA,EAAE,eAAe,MAAM,SAAS,CAClC;EACF;EACA,MAAM,UACJP,eAAAA,cACE;GAAE,IAAA,GAAGI,wBAAAA,WAAAA,CAAW,MAAM,WAAW;GAAG,OAAO,MAAM,CAAC,CAAC;EAAa,GAChE,MAAM,MAAM,KACd;EACF,QAAQ,UAAU;GAChB,cAAc,MAAM;GACpB,OAAOJ,eAAAA,cACL;IACE,MAAM;IACN,cAAc,MAAM;IACpB,wBAAwB;IACxB,OAAO,MAAM,CAAC,CAAC;IACf,SAAS,MAAM;GACjB,GACA,MAAM,KACR;EACF;CACF;AACF"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { StaticTableFeature, TableFeature } from "@adapttable/vue";
|
|
2
|
+
import { ExportCsvOptions, ExportCsvOptions as ExportCsvOptions$1 } from "@adapttable/vue/features";
|
|
3
|
+
//#region src/export-csv.d.ts
|
|
4
|
+
/** Export the current view as CSV through the binding's cancellable export model. */
|
|
5
|
+
declare function exportCsv(options?: boolean): StaticTableFeature;
|
|
6
|
+
declare function exportCsv<TRow>(options?: boolean | ExportCsvOptions<TRow>): TableFeature<TRow>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exportCsv as n, ExportCsvOptions$1 as t };
|
|
9
|
+
//# sourceMappingURL=export-csv-DRDjZuQj.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-csv-DRDjZuQj.d.cts","names":[],"sources":["../src/export-csv.ts"],"mappings":";;;;iBASgB,UAAU,oBAAoB;iBAC9B,UAAU,MACxB,oBAAoB,iBAAiB,QACpC,aAAa"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ExportCsvOptions, ExportCsvOptions as ExportCsvOptions$1 } from "@adapttable/vue/features";
|
|
2
|
+
import { StaticTableFeature, TableFeature } from "@adapttable/vue";
|
|
3
|
+
//#region src/export-csv.d.ts
|
|
4
|
+
/** Export the current view as CSV through the binding's cancellable export model. */
|
|
5
|
+
declare function exportCsv$1(options?: boolean): StaticTableFeature;
|
|
6
|
+
declare function exportCsv$1<TRow>(options?: boolean | ExportCsvOptions<TRow>): TableFeature<TRow>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exportCsv$1 as n, ExportCsvOptions$1 as t };
|
|
9
|
+
//# sourceMappingURL=export-csv-VyICO_s0.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-csv-VyICO_s0.d.ts","names":[],"sources":["../src/export-csv.ts"],"mappings":";;;;iBASgB,YAAU,oBAAoB;iBAC9B,YAAU,MACxB,oBAAoB,iBAAiB,QACpC,aAAa"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_withElementExport = require("./withElementExport-J-6vXfL9.cjs");
|
|
3
|
+
let _adapttable_vue_features = require("@adapttable/vue/features");
|
|
4
|
+
//#region src/export-csv.ts
|
|
5
|
+
function exportCsv(options = true) {
|
|
6
|
+
return require_withElementExport.withElementExport((0, _adapttable_vue_features.exportCsv)(options));
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
exports.exportCsv = exportCsv;
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=export-csv.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-csv.cjs","names":["withElementExport","bindingExport"],"sources":["../src/export-csv.ts"],"sourcesContent":["import type { StaticTableFeature, TableFeature } from \"@adapttable/vue\";\nimport {\n exportCsv as bindingExport,\n type ExportCsvOptions,\n} from \"@adapttable/vue/features\";\n\nimport { withElementExport } from \"./export/withElementExport\";\n\n/** Export the current view as CSV through the binding's cancellable export model. */\nexport function exportCsv(options?: boolean): StaticTableFeature;\nexport function exportCsv<TRow>(\n options?: boolean | ExportCsvOptions<TRow>\n): TableFeature<TRow>;\nexport function exportCsv<TRow>(\n options: boolean | ExportCsvOptions<TRow> = true\n): TableFeature<TRow> {\n return withElementExport(bindingExport<TRow>(options));\n}\nexport type { ExportCsvOptions } from \"@adapttable/vue/features\";\n"],"mappings":";;;;AAaA,SAAgB,UACd,UAA4C,MACxB;CACpB,OAAOA,0BAAAA,mBAAAA,GAAkBC,yBAAAA,UAAAA,CAAoB,OAAO,CAAC;AACvD"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { t as withElementExport } from "./withElementExport-B97s6RIr.js";
|
|
2
|
+
import { exportCsv as exportCsv$1 } from "@adapttable/vue/features";
|
|
3
|
+
//#region src/export-csv.ts
|
|
4
|
+
function exportCsv(options = true) {
|
|
5
|
+
return withElementExport(exportCsv$1(options));
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { exportCsv };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=export-csv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-csv.js","names":["bindingExport"],"sources":["../src/export-csv.ts"],"sourcesContent":["import type { StaticTableFeature, TableFeature } from \"@adapttable/vue\";\nimport {\n exportCsv as bindingExport,\n type ExportCsvOptions,\n} from \"@adapttable/vue/features\";\n\nimport { withElementExport } from \"./export/withElementExport\";\n\n/** Export the current view as CSV through the binding's cancellable export model. */\nexport function exportCsv(options?: boolean): StaticTableFeature;\nexport function exportCsv<TRow>(\n options?: boolean | ExportCsvOptions<TRow>\n): TableFeature<TRow>;\nexport function exportCsv<TRow>(\n options: boolean | ExportCsvOptions<TRow> = true\n): TableFeature<TRow> {\n return withElementExport(bindingExport<TRow>(options));\n}\nexport type { ExportCsvOptions } from \"@adapttable/vue/features\";\n"],"mappings":";;;AAaA,SAAgB,UACd,UAA4C,MACxB;CACpB,OAAO,kBAAkBA,YAAoB,OAAO,CAAC;AACvD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_withElementExport = require("./withElementExport-J-6vXfL9.cjs");
|
|
3
|
+
let _adapttable_vue_pdf = require("@adapttable/vue/pdf");
|
|
4
|
+
//#region src/export-pdf.ts
|
|
5
|
+
function exportPdf(options = true) {
|
|
6
|
+
return require_withElementExport.withElementExport((0, _adapttable_vue_pdf.exportPdf)(options));
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
Object.defineProperty(exports, "buildPrintDocument", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function() {
|
|
12
|
+
return _adapttable_vue_pdf.buildPrintDocument;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "buildPrintTableHtml", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function() {
|
|
18
|
+
return _adapttable_vue_pdf.buildPrintTableHtml;
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "buildTablePdf", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function() {
|
|
24
|
+
return _adapttable_vue_pdf.buildTablePdf;
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
exports.exportPdf = exportPdf;
|
|
28
|
+
Object.defineProperty(exports, "openPrintLayout", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function() {
|
|
31
|
+
return _adapttable_vue_pdf.openPrintLayout;
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
Object.defineProperty(exports, "pdfWriter", {
|
|
35
|
+
enumerable: true,
|
|
36
|
+
get: function() {
|
|
37
|
+
return _adapttable_vue_pdf.pdfWriter;
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "printStyles", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function() {
|
|
43
|
+
return _adapttable_vue_pdf.printStyles;
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
Object.defineProperty(exports, "printTable", {
|
|
47
|
+
enumerable: true,
|
|
48
|
+
get: function() {
|
|
49
|
+
return _adapttable_vue_pdf.printTable;
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=export-pdf.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-pdf.cjs","names":["withElementExport","bindingExport"],"sources":["../src/export-pdf.ts"],"sourcesContent":["import type { StaticTableFeature, TableFeature } from \"@adapttable/vue\";\nimport {\n exportPdf as bindingExport,\n type ExportPdfOptions,\n} from \"@adapttable/vue/pdf\";\n\nimport { withElementExport } from \"./export/withElementExport\";\n\nexport function exportPdf(options?: boolean): StaticTableFeature;\nexport function exportPdf<TRow>(\n options?: boolean | ExportPdfOptions<TRow>\n): TableFeature<TRow>;\nexport function exportPdf<TRow>(\n options: boolean | ExportPdfOptions<TRow> = true\n): TableFeature<TRow> {\n return withElementExport(bindingExport<TRow>(options));\n}\nexport type { ExportPdfOptions } from \"@adapttable/vue/pdf\";\nexport type {\n PdfWriterOptions,\n PrintLayoutOptions,\n PrintPageBreak,\n PrintPageSize,\n} from \"@adapttable/vue/pdf\";\nexport {\n buildPrintDocument,\n buildPrintTableHtml,\n buildTablePdf,\n openPrintLayout,\n pdfWriter,\n printStyles,\n printTable,\n} from \"@adapttable/vue/pdf\";\n"],"mappings":";;;;AAYA,SAAgB,UACd,UAA4C,MACxB;CACpB,OAAOA,0BAAAA,mBAAAA,GAAkBC,oBAAAA,UAAAA,CAAoB,OAAO,CAAC;AACvD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StaticTableFeature, TableFeature } from "@adapttable/vue";
|
|
2
|
+
import { ExportPdfOptions, ExportPdfOptions as ExportPdfOptions$1, PdfWriterOptions, PrintLayoutOptions, PrintPageBreak, PrintPageSize, buildPrintDocument, buildPrintTableHtml, buildTablePdf, openPrintLayout, pdfWriter, printStyles, printTable } from "@adapttable/vue/pdf";
|
|
3
|
+
//#region src/export-pdf.d.ts
|
|
4
|
+
declare function exportPdf(options?: boolean): StaticTableFeature;
|
|
5
|
+
declare function exportPdf<TRow>(options?: boolean | ExportPdfOptions$1<TRow>): TableFeature<TRow>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type ExportPdfOptions, type PdfWriterOptions, type PrintLayoutOptions, type PrintPageBreak, type PrintPageSize, buildPrintDocument, buildPrintTableHtml, buildTablePdf, exportPdf, openPrintLayout, pdfWriter, printStyles, printTable };
|
|
8
|
+
//# sourceMappingURL=export-pdf.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-pdf.d.cts","names":[],"sources":["../src/export-pdf.ts"],"mappings":";;;iBAQgB,UAAU,oBAAoB;iBAC9B,UAAU,MACxB,oBAAoB,mBAAiB,QACpC,aAAa"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StaticTableFeature, TableFeature } from "@adapttable/vue";
|
|
2
|
+
import { ExportPdfOptions, ExportPdfOptions as ExportPdfOptions$1, PdfWriterOptions, PrintLayoutOptions, PrintPageBreak, PrintPageSize, buildPrintDocument, buildPrintTableHtml, buildTablePdf, openPrintLayout, pdfWriter, printStyles, printTable } from "@adapttable/vue/pdf";
|
|
3
|
+
//#region src/export-pdf.d.ts
|
|
4
|
+
declare function exportPdf(options?: boolean): StaticTableFeature;
|
|
5
|
+
declare function exportPdf<TRow>(options?: boolean | ExportPdfOptions$1<TRow>): TableFeature<TRow>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type ExportPdfOptions, type PdfWriterOptions, type PrintLayoutOptions, type PrintPageBreak, type PrintPageSize, buildPrintDocument, buildPrintTableHtml, buildTablePdf, exportPdf, openPrintLayout, pdfWriter, printStyles, printTable };
|
|
8
|
+
//# sourceMappingURL=export-pdf.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-pdf.d.ts","names":[],"sources":["../src/export-pdf.ts"],"mappings":";;;iBAQgB,UAAU,oBAAoB;iBAC9B,UAAU,MACxB,oBAAoB,mBAAiB,QACpC,aAAa"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { t as withElementExport } from "./withElementExport-B97s6RIr.js";
|
|
2
|
+
import { buildPrintDocument, buildPrintTableHtml, buildTablePdf, exportPdf as exportPdf$1, openPrintLayout, pdfWriter, printStyles, printTable } from "@adapttable/vue/pdf";
|
|
3
|
+
//#region src/export-pdf.ts
|
|
4
|
+
function exportPdf(options = true) {
|
|
5
|
+
return withElementExport(exportPdf$1(options));
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { buildPrintDocument, buildPrintTableHtml, buildTablePdf, exportPdf, openPrintLayout, pdfWriter, printStyles, printTable };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=export-pdf.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-pdf.js","names":["bindingExport"],"sources":["../src/export-pdf.ts"],"sourcesContent":["import type { StaticTableFeature, TableFeature } from \"@adapttable/vue\";\nimport {\n exportPdf as bindingExport,\n type ExportPdfOptions,\n} from \"@adapttable/vue/pdf\";\n\nimport { withElementExport } from \"./export/withElementExport\";\n\nexport function exportPdf(options?: boolean): StaticTableFeature;\nexport function exportPdf<TRow>(\n options?: boolean | ExportPdfOptions<TRow>\n): TableFeature<TRow>;\nexport function exportPdf<TRow>(\n options: boolean | ExportPdfOptions<TRow> = true\n): TableFeature<TRow> {\n return withElementExport(bindingExport<TRow>(options));\n}\nexport type { ExportPdfOptions } from \"@adapttable/vue/pdf\";\nexport type {\n PdfWriterOptions,\n PrintLayoutOptions,\n PrintPageBreak,\n PrintPageSize,\n} from \"@adapttable/vue/pdf\";\nexport {\n buildPrintDocument,\n buildPrintTableHtml,\n buildTablePdf,\n openPrintLayout,\n pdfWriter,\n printStyles,\n printTable,\n} from \"@adapttable/vue/pdf\";\n"],"mappings":";;;AAYA,SAAgB,UACd,UAA4C,MACxB;CACpB,OAAO,kBAAkBA,YAAoB,OAAO,CAAC;AACvD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_withElementExport = require("./withElementExport-J-6vXfL9.cjs");
|
|
3
|
+
let _adapttable_vue_xlsx = require("@adapttable/vue/xlsx");
|
|
4
|
+
//#region src/export-xlsx.ts
|
|
5
|
+
function exportXlsx(options = true) {
|
|
6
|
+
return require_withElementExport.withElementExport((0, _adapttable_vue_xlsx.exportXlsx)(options));
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
Object.defineProperty(exports, "buildTableXlsx", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function() {
|
|
12
|
+
return _adapttable_vue_xlsx.buildTableXlsx;
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
exports.exportXlsx = exportXlsx;
|
|
16
|
+
Object.defineProperty(exports, "xlsxWriter", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function() {
|
|
19
|
+
return _adapttable_vue_xlsx.xlsxWriter;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=export-xlsx.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-xlsx.cjs","names":["withElementExport","bindingExport"],"sources":["../src/export-xlsx.ts"],"sourcesContent":["import type { StaticTableFeature, TableFeature } from \"@adapttable/vue\";\nimport {\n exportXlsx as bindingExport,\n type ExportXlsxOptions,\n} from \"@adapttable/vue/xlsx\";\n\nimport { withElementExport } from \"./export/withElementExport\";\n\nexport function exportXlsx(options?: boolean): StaticTableFeature;\nexport function exportXlsx<TRow>(\n options?: boolean | ExportXlsxOptions<TRow>\n): TableFeature<TRow>;\nexport function exportXlsx<TRow>(\n options: boolean | ExportXlsxOptions<TRow> = true\n): TableFeature<TRow> {\n return withElementExport(bindingExport<TRow>(options));\n}\nexport type { ExportXlsxOptions } from \"@adapttable/vue/xlsx\";\nexport { buildTableXlsx, xlsxWriter } from \"@adapttable/vue/xlsx\";\n"],"mappings":";;;;AAYA,SAAgB,WACd,UAA6C,MACzB;CACpB,OAAOA,0BAAAA,mBAAAA,GAAkBC,qBAAAA,WAAAA,CAAoB,OAAO,CAAC;AACvD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StaticTableFeature, TableFeature } from "@adapttable/vue";
|
|
2
|
+
import { ExportXlsxOptions, ExportXlsxOptions as ExportXlsxOptions$1, buildTableXlsx, xlsxWriter } from "@adapttable/vue/xlsx";
|
|
3
|
+
//#region src/export-xlsx.d.ts
|
|
4
|
+
declare function exportXlsx(options?: boolean): StaticTableFeature;
|
|
5
|
+
declare function exportXlsx<TRow>(options?: boolean | ExportXlsxOptions$1<TRow>): TableFeature<TRow>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type ExportXlsxOptions, buildTableXlsx, exportXlsx, xlsxWriter };
|
|
8
|
+
//# sourceMappingURL=export-xlsx.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-xlsx.d.cts","names":[],"sources":["../src/export-xlsx.ts"],"mappings":";;;iBAQgB,WAAW,oBAAoB;iBAC/B,WAAW,MACzB,oBAAoB,oBAAkB,QACrC,aAAa"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { StaticTableFeature, TableFeature } from "@adapttable/vue";
|
|
2
|
+
import { ExportXlsxOptions, ExportXlsxOptions as ExportXlsxOptions$1, buildTableXlsx, xlsxWriter } from "@adapttable/vue/xlsx";
|
|
3
|
+
//#region src/export-xlsx.d.ts
|
|
4
|
+
declare function exportXlsx(options?: boolean): StaticTableFeature;
|
|
5
|
+
declare function exportXlsx<TRow>(options?: boolean | ExportXlsxOptions$1<TRow>): TableFeature<TRow>;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { type ExportXlsxOptions, buildTableXlsx, exportXlsx, xlsxWriter };
|
|
8
|
+
//# sourceMappingURL=export-xlsx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-xlsx.d.ts","names":[],"sources":["../src/export-xlsx.ts"],"mappings":";;;iBAQgB,WAAW,oBAAoB;iBAC/B,WAAW,MACzB,oBAAoB,oBAAkB,QACrC,aAAa"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { t as withElementExport } from "./withElementExport-B97s6RIr.js";
|
|
2
|
+
import { buildTableXlsx, exportXlsx as exportXlsx$1, xlsxWriter } from "@adapttable/vue/xlsx";
|
|
3
|
+
//#region src/export-xlsx.ts
|
|
4
|
+
function exportXlsx(options = true) {
|
|
5
|
+
return withElementExport(exportXlsx$1(options));
|
|
6
|
+
}
|
|
7
|
+
//#endregion
|
|
8
|
+
export { buildTableXlsx, exportXlsx, xlsxWriter };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=export-xlsx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"export-xlsx.js","names":["bindingExport"],"sources":["../src/export-xlsx.ts"],"sourcesContent":["import type { StaticTableFeature, TableFeature } from \"@adapttable/vue\";\nimport {\n exportXlsx as bindingExport,\n type ExportXlsxOptions,\n} from \"@adapttable/vue/xlsx\";\n\nimport { withElementExport } from \"./export/withElementExport\";\n\nexport function exportXlsx(options?: boolean): StaticTableFeature;\nexport function exportXlsx<TRow>(\n options?: boolean | ExportXlsxOptions<TRow>\n): TableFeature<TRow>;\nexport function exportXlsx<TRow>(\n options: boolean | ExportXlsxOptions<TRow> = true\n): TableFeature<TRow> {\n return withElementExport(bindingExport<TRow>(options));\n}\nexport type { ExportXlsxOptions } from \"@adapttable/vue/xlsx\";\nexport { buildTableXlsx, xlsxWriter } from \"@adapttable/vue/xlsx\";\n"],"mappings":";;;AAYA,SAAgB,WACd,UAA6C,MACzB;CACpB,OAAO,kBAAkBA,aAAoB,OAAO,CAAC;AACvD"}
|
package/dist/export.cjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
exports.exportCsv =
|
|
2
|
+
const require_export_csv = require("./export-csv.cjs");
|
|
3
|
+
exports.exportCsv = require_export_csv.exportCsv;
|
package/dist/export.d.cts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/export.d.ts
|
|
4
|
-
declare function exportCsv(options?: boolean): StaticTableFeature;
|
|
5
|
-
declare function exportCsv<TRow>(options?: boolean | ExportCsvOptions$1<TRow>): TableFeature<TRow>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { type ExportCsvOptions, exportCsv };
|
|
8
|
-
//# sourceMappingURL=export.d.cts.map
|
|
1
|
+
import { n as exportCsv, t as ExportCsvOptions } from "./export-csv-DRDjZuQj.cjs";
|
|
2
|
+
export { type ExportCsvOptions, exportCsv };
|
package/dist/export.d.ts
CHANGED
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/export.d.ts
|
|
4
|
-
declare function exportCsv(options?: boolean): StaticTableFeature;
|
|
5
|
-
declare function exportCsv<TRow>(options?: boolean | ExportCsvOptions$1<TRow>): TableFeature<TRow>;
|
|
6
|
-
//#endregion
|
|
7
|
-
export { type ExportCsvOptions, exportCsv };
|
|
8
|
-
//# sourceMappingURL=export.d.ts.map
|
|
1
|
+
import { n as exportCsv, t as ExportCsvOptions } from "./export-csv-VyICO_s0.js";
|
|
2
|
+
export { type ExportCsvOptions, exportCsv };
|
package/dist/export.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { exportCsv } from "./export-csv.js";
|
|
2
2
|
export { exportCsv };
|
package/dist/features.cjs
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_ElementFilterHeaderRow = require("./ElementFilterHeaderRow-
|
|
3
|
-
const require_assistant = require("./assistant-
|
|
4
|
-
const require_editing = require("./editing-
|
|
2
|
+
const require_ElementFilterHeaderRow = require("./ElementFilterHeaderRow-D8ZZ3BOH.cjs");
|
|
3
|
+
const require_assistant = require("./assistant-D4l4OdXN.cjs");
|
|
4
|
+
const require_editing = require("./editing-Bhw_4VG8.cjs");
|
|
5
5
|
require("./batch-editing.cjs");
|
|
6
6
|
const require_bulk_actions = require("./bulk-actions.cjs");
|
|
7
|
-
const require_cell_navigation = require("./cell-navigation-
|
|
8
|
-
const require_column_menu = require("./column-menu-
|
|
7
|
+
const require_cell_navigation = require("./cell-navigation-DJ-_1Mjr.cjs");
|
|
8
|
+
const require_column_menu = require("./column-menu-jNw7kuxp.cjs");
|
|
9
9
|
require("./columns.cjs");
|
|
10
10
|
const require_command_palette = require("./command-palette.cjs");
|
|
11
11
|
const require_context_menu = require("./context-menu.cjs");
|
|
12
|
-
const require_density = require("./density-
|
|
13
|
-
const
|
|
14
|
-
|
|
15
|
-
const
|
|
16
|
-
const
|
|
12
|
+
const require_density = require("./density-CJLZxF1h.cjs");
|
|
13
|
+
const require_export_csv = require("./export-csv.cjs");
|
|
14
|
+
require("./export.cjs");
|
|
15
|
+
const require_filters = require("./filters-bdHAQnex.cjs");
|
|
16
|
+
const require_ElementFilterSurface = require("./ElementFilterSurface-CUgNfyWW.cjs");
|
|
17
|
+
const require_find_in_table = require("./find-in-table-WtXzIkkg.cjs");
|
|
17
18
|
const require_fullscreen = require("./fullscreen.cjs");
|
|
18
19
|
const require_grouping = require("./grouping.cjs");
|
|
19
|
-
const require_grouping_panel = require("./grouping-panel-
|
|
20
|
-
const require_header_filters = require("./header-filters-
|
|
20
|
+
const require_grouping_panel = require("./grouping-panel-B_ibl915.cjs");
|
|
21
|
+
const require_header_filters = require("./header-filters-Cu7t_2IW.cjs");
|
|
21
22
|
const require_print = require("./print.cjs");
|
|
22
23
|
require("./row-detail.cjs");
|
|
23
|
-
const require_row_reorder = require("./row-reorder-
|
|
24
|
+
const require_row_reorder = require("./row-reorder-MSR2yDN6.cjs");
|
|
24
25
|
const require_row_actions = require("./row-actions.cjs");
|
|
25
26
|
const require_row_pinning = require("./row-pinning.cjs");
|
|
26
27
|
require("./rows.cjs");
|
|
27
|
-
const require_saved_views = require("./saved-views-
|
|
28
|
+
const require_saved_views = require("./saved-views-luZVHu3w.cjs");
|
|
28
29
|
const require_side_panel = require("./side-panel.cjs");
|
|
29
30
|
const require_status_bar = require("./status-bar-C-XuZg77.cjs");
|
|
30
31
|
require("./tree.cjs");
|
|
@@ -78,7 +79,7 @@ Object.defineProperty(exports, "editHistory", {
|
|
|
78
79
|
}
|
|
79
80
|
});
|
|
80
81
|
exports.editing = require_editing.editing;
|
|
81
|
-
exports.exportCsv =
|
|
82
|
+
exports.exportCsv = require_export_csv.exportCsv;
|
|
82
83
|
Object.defineProperty(exports, "extraRows", {
|
|
83
84
|
enumerable: true,
|
|
84
85
|
get: function() {
|
package/dist/features.d.cts
CHANGED
|
@@ -3,13 +3,14 @@ import { a as RowEditIcons, c as batchEditing, d as editing, f as rowEditing, g
|
|
|
3
3
|
import "./batch-editing.cjs";
|
|
4
4
|
import { bulkActions } from "./bulk-actions.cjs";
|
|
5
5
|
import { CellEdit, CellNavigationOptions, CellRange, GridCell, cellNavigation, columnSelectionCheckbox } from "./cell-navigation.cjs";
|
|
6
|
-
import { n as columnMenu } from "./column-menu-
|
|
6
|
+
import { n as columnMenu } from "./column-menu-DsL_xeEM.cjs";
|
|
7
7
|
import { ColumnResizeHandleOptions, ColumnResizeHandleProps, collapsibleColumnGroups, fitColumns, multiSort, resizableColumns } from "./columns.cjs";
|
|
8
8
|
import { commandPalette } from "./command-palette.cjs";
|
|
9
9
|
import { contextMenu } from "./context-menu.cjs";
|
|
10
10
|
import { densityChooser } from "./density.cjs";
|
|
11
|
-
import { exportCsv } from "./export.cjs";
|
|
12
|
-
import
|
|
11
|
+
import { n as exportCsv } from "./export-csv-DRDjZuQj.cjs";
|
|
12
|
+
import "./export.cjs";
|
|
13
|
+
import { a as FilterTreeBuilderProps, c as filterTypes, d as _default$4, f as ElementChecklistFilter, i as FilterOption, l as filters, n as FilterDef, o as FilterTypeSpec, r as FilterFieldOptions, s as FiltersOptions, t as ChecklistFilterProps, u as ElementFilterTree } from "./filters-BySwxJJ0.cjs";
|
|
13
14
|
import { findInTable } from "./find-in-table.cjs";
|
|
14
15
|
import { fullscreen } from "./fullscreen.cjs";
|
|
15
16
|
import { GroupCollapseOptions, GroupNode, GroupSort, StaticGroupingExtras, grouping, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging } from "./grouping.cjs";
|
package/dist/features.d.ts
CHANGED
|
@@ -3,13 +3,14 @@ import { a as RowEditIcons, c as batchEditing, d as editing, f as rowEditing, g
|
|
|
3
3
|
import "./batch-editing.js";
|
|
4
4
|
import { bulkActions } from "./bulk-actions.js";
|
|
5
5
|
import { CellEdit, CellNavigationOptions, CellRange, GridCell, cellNavigation, columnSelectionCheckbox } from "./cell-navigation.js";
|
|
6
|
-
import { n as columnMenu } from "./column-menu-
|
|
6
|
+
import { n as columnMenu } from "./column-menu-CAkx6AjR.js";
|
|
7
7
|
import { ColumnResizeHandleOptions, ColumnResizeHandleProps, collapsibleColumnGroups, fitColumns, multiSort, resizableColumns } from "./columns.js";
|
|
8
8
|
import { commandPalette } from "./command-palette.js";
|
|
9
9
|
import { contextMenu } from "./context-menu.js";
|
|
10
10
|
import { densityChooser } from "./density.js";
|
|
11
|
-
import { exportCsv } from "./export.js";
|
|
12
|
-
import
|
|
11
|
+
import { n as exportCsv } from "./export-csv-VyICO_s0.js";
|
|
12
|
+
import "./export.js";
|
|
13
|
+
import { a as FilterTreeBuilderProps, c as filterTypes, d as _default$4, f as ElementChecklistFilter, i as FilterOption, l as filters, n as FilterDef, o as FilterTypeSpec, r as FilterFieldOptions, s as FiltersOptions, t as ChecklistFilterProps, u as ElementFilterTree } from "./filters-iRpu_mXa.js";
|
|
13
14
|
import { findInTable } from "./find-in-table.js";
|
|
14
15
|
import { fullscreen } from "./fullscreen.js";
|
|
15
16
|
import { GroupCollapseOptions, GroupNode, GroupSort, StaticGroupingExtras, grouping, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging } from "./grouping.js";
|
package/dist/features.js
CHANGED
|
@@ -1,29 +1,30 @@
|
|
|
1
|
-
import { n as _sfc_main$5, t as _sfc_main$6 } from "./ElementFilterHeaderRow-
|
|
2
|
-
import { i as tableAssistant, n as TableAssistant, r as agentApproval, t as AgentApproval } from "./assistant-
|
|
3
|
-
import { a as rowEditing, c as _sfc_main, i as editing, l as _sfc_main$1, n as dirtyIndicators, o as undoRedoButtons, r as editHistory, s as _sfc_main$3, t as batchEditing } from "./editing-
|
|
1
|
+
import { n as _sfc_main$5, t as _sfc_main$6 } from "./ElementFilterHeaderRow-DGp4Wrts.js";
|
|
2
|
+
import { i as tableAssistant, n as TableAssistant, r as agentApproval, t as AgentApproval } from "./assistant-DRDxJajO.js";
|
|
3
|
+
import { a as rowEditing, c as _sfc_main, i as editing, l as _sfc_main$1, n as dirtyIndicators, o as undoRedoButtons, r as editHistory, s as _sfc_main$3, t as batchEditing } from "./editing-DHjzbw-I.js";
|
|
4
4
|
import "./batch-editing.js";
|
|
5
5
|
import { bulkActions } from "./bulk-actions.js";
|
|
6
|
-
import { n as columnSelectionCheckbox, t as cellNavigation } from "./cell-navigation-
|
|
7
|
-
import { t as columnMenu } from "./column-menu-
|
|
6
|
+
import { n as columnSelectionCheckbox, t as cellNavigation } from "./cell-navigation-arDY86xD.js";
|
|
7
|
+
import { t as columnMenu } from "./column-menu-BUxMPyJI.js";
|
|
8
8
|
import { collapsibleColumnGroups, fitColumns, multiSort, resizableColumns } from "./columns.js";
|
|
9
9
|
import { commandPalette } from "./command-palette.js";
|
|
10
10
|
import { contextMenu } from "./context-menu.js";
|
|
11
|
-
import { t as densityChooser } from "./density-
|
|
12
|
-
import {
|
|
13
|
-
import
|
|
14
|
-
import { n as
|
|
15
|
-
import {
|
|
11
|
+
import { t as densityChooser } from "./density-OeJSiWSC.js";
|
|
12
|
+
import { exportCsv } from "./export-csv.js";
|
|
13
|
+
import "./export.js";
|
|
14
|
+
import { n as filters, r as ElementFilterTree, t as filterTypes } from "./filters-87q6jAVU.js";
|
|
15
|
+
import { n as _sfc_main$4, r as ElementChecklistFilter } from "./ElementFilterSurface-CiOApO3l.js";
|
|
16
|
+
import { t as findInTable } from "./find-in-table-B9ySCCJh.js";
|
|
16
17
|
import { fullscreen } from "./fullscreen.js";
|
|
17
18
|
import { grouping, useGroupCollapse, useGroupCollapseUrlState, useGroupPaging } from "./grouping.js";
|
|
18
|
-
import { t as groupingPanel } from "./grouping-panel-
|
|
19
|
-
import { n as _sfc_main$2, t as headerFilters } from "./header-filters-
|
|
19
|
+
import { t as groupingPanel } from "./grouping-panel-B7j8sSpT.js";
|
|
20
|
+
import { n as _sfc_main$2, t as headerFilters } from "./header-filters-DUZI1x70.js";
|
|
20
21
|
import { print } from "./print.js";
|
|
21
22
|
import { nestedTable, nestedTableDetail, rowDetail, useRowExpansion } from "./row-detail.js";
|
|
22
|
-
import { n as useRowReorder, t as rowReorder } from "./row-reorder-
|
|
23
|
+
import { n as useRowReorder, t as rowReorder } from "./row-reorder-BYwX3CBP.js";
|
|
23
24
|
import { rowActions } from "./row-actions.js";
|
|
24
25
|
import { rowPinning } from "./row-pinning.js";
|
|
25
26
|
import { cellSpan, extraRows, pinnedSummaryRows, rowAppearance } from "./rows.js";
|
|
26
|
-
import { n as savedViews, t as SavedViewsPanel } from "./saved-views-
|
|
27
|
+
import { n as savedViews, t as SavedViewsPanel } from "./saved-views-DDo4Bl-f.js";
|
|
27
28
|
import { sidePanel } from "./side-panel.js";
|
|
28
29
|
import { n as statusBar, t as selectionStats } from "./status-bar-DaWh0Agh.js";
|
|
29
30
|
import { tree, useLazyChildren, useTreeExpansion } from "./tree.js";
|