@knime/kds-table 6.3.1 → 6.5.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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, getCurrentInstance, getCurrentScope, guardReactiveProps, inject, isRef, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, onScopeDispose, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, shallowReadonly, shallowRef, toDisplayString, toRef, toValue, unref, useCssVars, useSlots, useTemplateRef, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
2
- import { KdsButton, KdsCheckbox, KdsDropdown, KdsIcon, KdsLoadingSkeleton, KdsMenuButton, KdsMissingValueIcon, KdsPopover, KdsSearchInput, KdsToggleButton, vKdsTooltip } from "@knime/kds-components";
2
+ import { KdsButton, KdsCheckbox, KdsDropdown, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsLoadingSkeleton, KdsMenuButton, KdsMissingValueIcon, KdsPopover, KdsSearchInput, KdsToggleButton, vKdsTooltip } from "@knime/kds-components";
3
3
  import './index.css';//#region \0rolldown/runtime.js
4
4
  var __create = Object.create;
5
5
  var __defProp = Object.defineProperty;
@@ -5000,9 +5000,9 @@ var createEditingCellKeydownHandler = ({ moveSelection }) => {
5000
5000
  //#endregion
5001
5001
  //#region src/components/control/PageNavigation.vue?vue&type=script&setup=true&lang.ts
5002
5002
  var _hoisted_1$11 = { class: "page-navigation" };
5003
- var _hoisted_2$7 = { class: "navigation-buttons" };
5003
+ var _hoisted_2$8 = { class: "navigation-buttons" };
5004
5004
  var _hoisted_3$4 = { class: "page-count" };
5005
- var _hoisted_4$2 = { class: "navigation-buttons" };
5005
+ var _hoisted_4$3 = { class: "navigation-buttons" };
5006
5006
  //#endregion
5007
5007
  //#region src/components/control/PageNavigation.vue
5008
5008
  var PageNavigation_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -5028,7 +5028,7 @@ var PageNavigation_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
5028
5028
  };
5029
5029
  return (_ctx, _cache) => {
5030
5030
  return openBlock(), createElementBlock("div", _hoisted_1$11, [
5031
- createElementVNode("div", _hoisted_2$7, [createVNode(unref(KdsButton), {
5031
+ createElementVNode("div", _hoisted_2$8, [createVNode(unref(KdsButton), {
5032
5032
  variant: "transparent",
5033
5033
  size: "small",
5034
5034
  "leading-icon": "chevron-left-double",
@@ -5044,7 +5044,7 @@ var PageNavigation_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
5044
5044
  onClick: _cache[1] || (_cache[1] = ($event) => onPageChange(__props.currentPage - 1))
5045
5045
  }, null, 8, ["disabled"])]),
5046
5046
  createElementVNode("span", _hoisted_3$4, toDisplayString(__props.currentPage) + " of " + toDisplayString(__props.totalPages), 1),
5047
- createElementVNode("div", _hoisted_4$2, [createVNode(unref(KdsButton), {
5047
+ createElementVNode("div", _hoisted_4$3, [createVNode(unref(KdsButton), {
5048
5048
  variant: "transparent",
5049
5049
  size: "small",
5050
5050
  "leading-icon": "chevron-right",
@@ -5069,16 +5069,16 @@ var _hoisted_1$10 = {
5069
5069
  key: 0,
5070
5070
  class: "subtle"
5071
5071
  };
5072
- var _hoisted_2$6 = {
5072
+ var _hoisted_2$7 = {
5073
5073
  key: 1,
5074
5074
  class: "row-range-container"
5075
5075
  };
5076
5076
  var _hoisted_3$3 = { class: "subtle" };
5077
- var _hoisted_4$1 = {
5077
+ var _hoisted_4$2 = {
5078
5078
  key: 0,
5079
5079
  class: "muted"
5080
5080
  };
5081
- var _hoisted_5 = { class: "subtle" };
5081
+ var _hoisted_5$1 = { class: "subtle" };
5082
5082
  //#endregion
5083
5083
  //#region src/components/control/PageControls.vue?vue&type=script&lang.ts
5084
5084
  /**
@@ -5110,10 +5110,10 @@ var PageControls_vue_vue_type_script_lang_default = {
5110
5110
  const pageRangeEnd = computed(() => Math.min(__props.currentPage * __props.pageSize, __props.currentItems));
5111
5111
  const rowCountText = computed(() => hasMultiplePages.value && __props.currentItems ? `of ${__props.currentItems}` : __props.currentItems);
5112
5112
  return (_ctx, _cache) => {
5113
- return __props.showTableSize && __props.currentItems === 0 ? (openBlock(), createElementBlock("span", _hoisted_1$10, "No data")) : (openBlock(), createElementBlock("div", _hoisted_2$6, [
5113
+ return __props.showTableSize && __props.currentItems === 0 ? (openBlock(), createElementBlock("span", _hoisted_1$10, "No data")) : (openBlock(), createElementBlock("div", _hoisted_2$7, [
5114
5114
  createElementVNode("span", _hoisted_3$3, toDisplayString(__props.rowLabel) + ":", 1),
5115
- hasMultiplePages.value && __props.currentItems ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(pageRangeStart.value) + "–" + toDisplayString(pageRangeEnd.value), 1)) : createCommentVNode("", true),
5116
- createElementVNode("span", _hoisted_5, toDisplayString(rowCountText.value), 1)
5115
+ hasMultiplePages.value && __props.currentItems ? (openBlock(), createElementBlock("span", _hoisted_4$2, toDisplayString(pageRangeStart.value) + "–" + toDisplayString(pageRangeEnd.value), 1)) : createCommentVNode("", true),
5116
+ createElementVNode("span", _hoisted_5$1, toDisplayString(rowCountText.value), 1)
5117
5117
  ]));
5118
5118
  };
5119
5119
  }
@@ -5179,7 +5179,7 @@ var _hoisted_1$9 = {
5179
5179
  key: 0,
5180
5180
  class: "page-controls"
5181
5181
  };
5182
- var _hoisted_2$5 = { class: "page-size-menu" };
5182
+ var _hoisted_2$6 = { class: "page-size-menu" };
5183
5183
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
5184
5184
  const _component_PageRowRange = resolveComponent("PageRowRange");
5185
5185
  const _component_PageNavigation = resolveComponent("PageNavigation");
@@ -5212,7 +5212,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
5212
5212
  "has-next-page",
5213
5213
  "has-previous-page"
5214
5214
  ])) : createCommentVNode("", true),
5215
- createElementVNode("div", _hoisted_2$5, [$options.pageSizeItems.length ? (openBlock(), createBlock(_component_KdsMenuButton, {
5215
+ createElementVNode("div", _hoisted_2$6, [$options.pageSizeItems.length ? (openBlock(), createBlock(_component_KdsMenuButton, {
5216
5216
  key: 0,
5217
5217
  items: $options.pageSizeItems,
5218
5218
  label: $options.createText($props.pageConfig.pageSize),
@@ -5232,10 +5232,10 @@ var PageControls_default = /*#__PURE__*/ _plugin_vue_export_helper_default(PageC
5232
5232
  //#region src/components/control/actionbar/PopoverContainer.vue
5233
5233
  var _sfc_main = {};
5234
5234
  var _hoisted_1$8 = { class: "popover" };
5235
- var _hoisted_2$4 = { class: "header" };
5235
+ var _hoisted_2$5 = { class: "header" };
5236
5236
  var _hoisted_3$2 = { class: "body" };
5237
5237
  function _sfc_render$3(_ctx, _cache) {
5238
- return openBlock(), createElementBlock("div", _hoisted_1$8, [createElementVNode("span", _hoisted_2$4, [renderSlot(_ctx.$slots, "header", {}, void 0, true)]), createElementVNode("div", _hoisted_3$2, [renderSlot(_ctx.$slots, "body", {}, void 0, true)])]);
5238
+ return openBlock(), createElementBlock("div", _hoisted_1$8, [createElementVNode("span", _hoisted_2$5, [renderSlot(_ctx.$slots, "header", {}, void 0, true)]), createElementVNode("div", _hoisted_3$2, [renderSlot(_ctx.$slots, "body", {}, void 0, true)])]);
5239
5239
  }
5240
5240
  var PopoverContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(_sfc_main, [["render", _sfc_render$3], ["__scopeId", "data-v-349cd3ba"]]);
5241
5241
  //#endregion
@@ -5374,11 +5374,16 @@ var SortControl_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
5374
5374
  //#endregion
5375
5375
  //#region src/components/control/TableActionBar.vue?vue&type=script&setup=true&lang.ts
5376
5376
  var _hoisted_1$6 = { class: "left" };
5377
- var _hoisted_2$3 = {
5377
+ var _hoisted_2$4 = { class: "center" };
5378
+ var _hoisted_3$1 = {
5378
5379
  key: 0,
5380
+ class: "preview"
5381
+ };
5382
+ var _hoisted_4$1 = {
5383
+ key: 1,
5379
5384
  class: "dimension"
5380
5385
  };
5381
- var _hoisted_3$1 = { class: "right" };
5386
+ var _hoisted_5 = { class: "right" };
5382
5387
  //#endregion
5383
5388
  //#region src/components/control/TableActionBar.vue
5384
5389
  var TableActionBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -5404,6 +5409,7 @@ var TableActionBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
5404
5409
  const slots = useSlots();
5405
5410
  const viewType = computed(() => __props.actionState?.viewType ?? "DEFAULT");
5406
5411
  const isTemporaryView = computed(() => viewType.value === "TEMP_VIEW" || viewType.value === "PREVIEW");
5412
+ const isPreview = computed(() => viewType.value === "PREVIEW");
5407
5413
  const showResetButton = computed(() => viewType.value === "TEMP_VIEW");
5408
5414
  const hasContent = computed(() => isTemporaryView.value || __props.showTableSize || __props.actionConfig.enableSearch || __props.actionConfig.enableSorting || __props.actionConfig.forceShow || Boolean(slots["action-bar-left"]));
5409
5415
  /**
@@ -5427,43 +5433,46 @@ var TableActionBar_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
5427
5433
  return hasContent.value ? (openBlock(), createElementBlock("div", {
5428
5434
  key: 0,
5429
5435
  class: normalizeClass(["kds-table-action-bar", { "temporary-view": isTemporaryView.value }])
5430
- }, [createElementVNode("div", _hoisted_1$6, [
5431
- __props.showTableSize ? (openBlock(), createElementBlock("span", _hoisted_2$3, toDisplayString(dimensionText.value), 1)) : createCommentVNode("", true),
5432
- __props.actionConfig.enableSorting ? (openBlock(), createBlock(SortControl_default, {
5433
- key: 1,
5436
+ }, [
5437
+ createElementVNode("div", _hoisted_1$6, [__props.actionConfig.enableSorting && !__props.actionConfig.hideSortingButton ? (openBlock(), createBlock(SortControl_default, {
5438
+ key: 0,
5434
5439
  "col-sort-values": __props.colSortValues,
5435
5440
  "sort-control-options": __props.sortControlOptions,
5436
5441
  onColumnSort: _cache[0] || (_cache[0] = (columnId, colDir) => emit("onColumnSort", columnId, colDir))
5437
- }, null, 8, ["col-sort-values", "sort-control-options"])) : createCommentVNode("", true),
5438
- renderSlot(_ctx.$slots, "action-bar-left", {}, void 0, true)
5439
- ]), createElementVNode("div", _hoisted_3$1, [
5440
- __props.actionConfig.enableSearch ? (openBlock(), createBlock(unref(KdsSearchInput), {
5442
+ }, null, 8, ["col-sort-values", "sort-control-options"])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "action-bar-left", {}, void 0, true)]),
5443
+ createElementVNode("div", _hoisted_2$4, [isPreview.value ? (openBlock(), createElementBlock("div", _hoisted_3$1, [_cache[3] || (_cache[3] = createElementVNode("span", { class: "preview-label" }, "Preview", -1)), __props.actionState?.previewDescription ? (openBlock(), createBlock(unref(KdsInfoToggleButton), {
5441
5444
  key: 0,
5442
- ariaLabel: "Search table",
5443
- size: "small",
5444
- "model-value": __props.actionState?.searchTerm ?? "",
5445
- "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:searchTerm", $event))
5446
- }, null, 8, ["model-value"])) : createCommentVNode("", true),
5447
- __props.actionConfig.settingsItems?.length ? (openBlock(), createBlock(unref(KdsMenuButton), {
5448
- key: 1,
5449
- ariaLabel: "Table settings",
5450
- size: "small",
5451
- variant: "transparent",
5452
- "leading-icon": "parameter",
5453
- items: __props.actionConfig.settingsItems
5454
- }, null, 8, ["items"])) : createCommentVNode("", true),
5455
- showResetButton.value ? (openBlock(), createBlock(unref(KdsButton), {
5456
- key: 2,
5457
- ariaLabel: "Reset to Nodeoutput",
5458
- size: "small",
5459
- variant: "transparent",
5460
- "leading-icon": "x-close",
5461
- onClick: _cache[2] || (_cache[2] = ($event) => emit("resetTemporaryView"))
5462
- })) : createCommentVNode("", true)
5463
- ])], 2)) : createCommentVNode("", true);
5445
+ content: __props.actionState.previewDescription
5446
+ }, null, 8, ["content"])) : createCommentVNode("", true)])) : createCommentVNode("", true), __props.showTableSize ? (openBlock(), createElementBlock("span", _hoisted_4$1, toDisplayString(dimensionText.value), 1)) : createCommentVNode("", true)]),
5447
+ createElementVNode("div", _hoisted_5, [
5448
+ __props.actionConfig.enableSearch ? (openBlock(), createBlock(unref(KdsSearchInput), {
5449
+ key: 0,
5450
+ ariaLabel: "Search table",
5451
+ size: "small",
5452
+ "model-value": __props.actionState?.searchTerm ?? "",
5453
+ "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.$emit("update:searchTerm", $event))
5454
+ }, null, 8, ["model-value"])) : createCommentVNode("", true),
5455
+ __props.actionConfig.settingsItems?.length ? (openBlock(), createBlock(unref(KdsMenuButton), {
5456
+ key: 1,
5457
+ ariaLabel: "Table settings",
5458
+ size: "small",
5459
+ variant: "transparent",
5460
+ "leading-icon": "parameter",
5461
+ items: __props.actionConfig.settingsItems
5462
+ }, null, 8, ["items"])) : createCommentVNode("", true),
5463
+ showResetButton.value ? (openBlock(), createBlock(unref(KdsButton), {
5464
+ key: 2,
5465
+ ariaLabel: "Reset table",
5466
+ size: "small",
5467
+ variant: "transparent",
5468
+ "leading-icon": "x-close",
5469
+ onClick: _cache[2] || (_cache[2] = ($event) => emit("resetTemporaryView"))
5470
+ })) : createCommentVNode("", true)
5471
+ ])
5472
+ ], 2)) : createCommentVNode("", true);
5464
5473
  };
5465
5474
  }
5466
- }), [["__scopeId", "data-v-6538127c"]]);
5475
+ }), [["__scopeId", "data-v-c9fae4f1"]]);
5467
5476
  //#endregion
5468
5477
  //#region src/components/composables/useHeaderMenuItems.ts
5469
5478
  var useHeaderMenuItems = ({ enableSorting, sortDirection, sortTexts, additionalMenuItems, onColumnSort }) => {
@@ -5640,7 +5649,7 @@ var useAutoScrollOnRightEdge = ({ scrollContainer, autoScrollOffset, onAutoScrol
5640
5649
  //#endregion
5641
5650
  //#region src/components/layout/HeaderCell.vue?vue&type=script&setup=true&lang.ts
5642
5651
  var _hoisted_1$5 = ["tabindex"];
5643
- var _hoisted_2$2 = { class: "header-text-container" };
5652
+ var _hoisted_2$3 = { class: "header-text-container" };
5644
5653
  var _hoisted_3 = {
5645
5654
  key: 0,
5646
5655
  class: "sub-header-text-container"
@@ -5853,7 +5862,7 @@ var Header_vue_vue_type_script_lang_default = {
5853
5862
  ref_key: "mainHeader",
5854
5863
  ref: mainHeader,
5855
5864
  class: "main-header"
5856
- }, [withDirectives((openBlock(), createElementBlock("div", _hoisted_2$2, [createElementVNode("span", {
5865
+ }, [withDirectives((openBlock(), createElementBlock("div", _hoisted_2$3, [createElementVNode("span", {
5857
5866
  ref_key: "headerText",
5858
5867
  ref: headerText
5859
5868
  }, toDisplayString(__props.column.header), 513)])), [[
@@ -6206,7 +6215,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
6206
6215
  style: normalizeStyle($options.headerSelectionOverlayStyle)
6207
6216
  }, null, 6)) : createCommentVNode("", true)]);
6208
6217
  }
6209
- var Header_default = /*#__PURE__*/ _plugin_vue_export_helper_default(Header_vue_vue_type_script_lang_default, [["render", _sfc_render$2], ["__scopeId", "data-v-5ec89e0d"]]);
6218
+ var Header_default = /*#__PURE__*/ _plugin_vue_export_helper_default(Header_vue_vue_type_script_lang_default, [["render", _sfc_render$2], ["__scopeId", "data-v-fc0a0ecb"]]);
6210
6219
  //#endregion
6211
6220
  //#region src/components/layout/NewRowButton.vue?vue&type=script&setup=true&lang.ts
6212
6221
  var _hoisted_1$3 = { class: "sticky-container" };
@@ -6262,7 +6271,7 @@ var _hoisted_1$2 = {
6262
6271
  ref: "cell-content",
6263
6272
  class: "cell-content"
6264
6273
  };
6265
- var _hoisted_2$1 = {
6274
+ var _hoisted_2$2 = {
6266
6275
  key: 3,
6267
6276
  class: "cell-text"
6268
6277
  };
@@ -6408,7 +6417,7 @@ var CellRenderer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
6408
6417
  }, [createElementVNode("div", _hoisted_1$2, [__props.isEditing ? renderSlot(_ctx.$slots, "editable-cell", { cellElement: _ctx.$el }, void 0, true, 0) : __props.isMissing ? (openBlock(), createBlock(unref(KdsMissingValueIcon), {
6409
6418
  key: 1,
6410
6419
  size: "small"
6411
- })) : __props.isSlotted ? renderSlot(_ctx.$slots, "default", { width: __props.size - props.defaultLeftRightPadding * 2 - (showCellExpandButton.value && !__props.overlayExpandButton ? unref(EXPAND_BUTTON_WIDTH) : 0) }, void 0, true, 2) : (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(__props.text), 1)), showCellExpandButton.value ? (openBlock(), createBlock(CellExpandButton_default, {
6420
+ })) : __props.isSlotted ? renderSlot(_ctx.$slots, "default", { width: __props.size - props.defaultLeftRightPadding * 2 - (showCellExpandButton.value && !__props.overlayExpandButton ? unref(EXPAND_BUTTON_WIDTH) : 0) }, void 0, true, 2) : (openBlock(), createElementBlock("span", _hoisted_2$2, toDisplayString(__props.text), 1)), showCellExpandButton.value ? (openBlock(), createBlock(CellExpandButton_default, {
6412
6421
  key: 4,
6413
6422
  class: normalizeClass({ overlaid: __props.overlayExpandButton }),
6414
6423
  toggled: isExpanded.value,
@@ -6519,7 +6528,7 @@ var _hoisted_1$1 = {
6519
6528
  key: 0,
6520
6529
  class: "deletion-cell"
6521
6530
  };
6522
- var _hoisted_2 = {
6531
+ var _hoisted_2$1 = {
6523
6532
  key: 2,
6524
6533
  class: "action"
6525
6534
  };
@@ -6838,7 +6847,7 @@ var TableUI_vue_vue_type_script_lang_default = {
6838
6847
  "onDataValueView"
6839
6848
  ]);
6840
6849
  }), 128)),
6841
- filteredSubMenuItems.value?.length ? (openBlock(), createElementBlock("td", _hoisted_2, [createVNode(unref(KdsMenuButton), {
6850
+ filteredSubMenuItems.value?.length ? (openBlock(), createElementBlock("td", _hoisted_2$1, [createVNode(unref(KdsMenuButton), {
6842
6851
  modelValue: isMenuOpen.value,
6843
6852
  "onUpdate:modelValue": _cache[9] || (_cache[9] = ($event) => isMenuOpen.value = $event),
6844
6853
  ariaLabel: "More actions",
@@ -7000,7 +7009,8 @@ var TableUI_vue_vue_type_script_lang_default = {
7000
7009
  }), [["__scopeId", "data-v-e925d8f8"]]),
7001
7010
  TableCore: TableCore_default,
7002
7011
  NewRowButton: NewRowButton_default,
7003
- TableActionBar: TableActionBar_default
7012
+ TableActionBar: TableActionBar_default,
7013
+ KdsEmptyState
7004
7014
  },
7005
7015
  props: {
7006
7016
  /**
@@ -7102,6 +7112,10 @@ var TableUI_vue_vue_type_script_lang_default = {
7102
7112
  disableRowHeightTransition: {
7103
7113
  type: Boolean,
7104
7114
  default: false
7115
+ },
7116
+ emptyState: {
7117
+ type: Object,
7118
+ default: () => ({ headline: "No data" })
7105
7119
  }
7106
7120
  },
7107
7121
  emits: {
@@ -7293,6 +7307,10 @@ var TableUI_vue_vue_type_script_lang_default = {
7293
7307
  };
7294
7308
  },
7295
7309
  computed: {
7310
+ showActionBar() {
7311
+ const viewType = this.actionState?.viewType;
7312
+ return Boolean(this.actionConfig) || viewType === "TEMP_VIEW" || viewType === "PREVIEW";
7313
+ },
7296
7314
  minRowHeight() {
7297
7315
  return this.rowConfig.compactMode ? COMPACT_ROW_HEIGHT : DEFAULT_ROW_HEIGHT;
7298
7316
  },
@@ -7811,6 +7829,10 @@ var TableUI_vue_vue_type_script_lang_default = {
7811
7829
  //#endregion
7812
7830
  //#region src/components/TableUI.vue
7813
7831
  var _hoisted_1 = { class: "wrapper" };
7832
+ var _hoisted_2 = {
7833
+ key: 0,
7834
+ class: "empty-state-overlay"
7835
+ };
7814
7836
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
7815
7837
  const _component_TableActionBar = resolveComponent("TableActionBar");
7816
7838
  const _component_Row = resolveComponent("Row");
@@ -7818,14 +7840,15 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
7818
7840
  const _component_CellSelectionOverlay = resolveComponent("CellSelectionOverlay");
7819
7841
  const _component_NewRowButton = resolveComponent("NewRowButton");
7820
7842
  const _component_TableCore = resolveComponent("TableCore");
7843
+ const _component_KdsEmptyState = resolveComponent("KdsEmptyState");
7821
7844
  const _component_PageControls = resolveComponent("PageControls");
7822
- return openBlock(), createElementBlock("div", _hoisted_1, [$props.actionConfig ? (openBlock(), createBlock(_component_TableActionBar, {
7845
+ return openBlock(), createElementBlock("div", _hoisted_1, [$options.showActionBar ? (openBlock(), createBlock(_component_TableActionBar, {
7823
7846
  key: 0,
7824
7847
  "table-sizes": $props.tableState.tableSizes,
7825
7848
  "action-state": $props.actionState,
7826
7849
  "row-label": $props.tableConfig.rowLabel,
7827
7850
  "show-table-size": $props.tableConfig.showTableSize,
7828
- "action-config": $props.actionConfig,
7851
+ "action-config": $props.actionConfig ?? {},
7829
7852
  "col-sort-values": $props.colSortValues,
7830
7853
  "sort-control-options": $options.sortControlOptions,
7831
7854
  onResetTemporaryView: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("resetTemporaryView")),
@@ -7864,221 +7887,225 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
7864
7887
  _cache[16] || (_cache[16] = withKeys(withModifiers((...args) => $setup.handleDeleteSelection && $setup.handleDeleteSelection(...args), ["exact"]), ["delete"])),
7865
7888
  _cache[17] || (_cache[17] = withKeys(withModifiers((...args) => $setup.clearCellSelectionAndStopPropagation && $setup.clearCellSelectionAndStopPropagation(...args), ["exact"]), ["escape"]))
7866
7889
  ]
7867
- }, [createVNode(_component_TableCore, {
7868
- ref: "tableCore",
7869
- "scroll-data": $options.scrollData,
7870
- "total-width": $setup.totalWidth,
7871
- "column-resize": { active: $setup.columnResizeActive },
7872
- "table-config": $props.tableConfig,
7873
- "sub-menu-config": $props.subMenuConfig,
7874
- "scroll-config": {
7875
- itemSize: $options.scrollerItemSize,
7876
- numRowsAbove: $props.numRowsAbove,
7877
- numRowsBelow: $props.numRowsBelow,
7878
- compact: Boolean($props.rowConfig.compactMode)
7879
- },
7880
- "current-row-height": $options.currentRowHeight,
7881
- "new-column-button-width": $setup.newColumnButtonWidth,
7882
- onScrollerUpdate: $options.onScroll,
7883
- "onUpdate:availableWidth": _cache[8] || (_cache[8] = ($event) => _ctx.$emit("update:available-width", $event)),
7884
- onMoveSelection: $options.onKeyboardMoveSelection,
7885
- onClearSelection: $setup.clearCellSelection,
7886
- onExpandSelectedCell: $options.expandSelectedCell,
7887
- onStartEditing: $options.onStartEditingCell,
7888
- onBodyFocusin: _cache[9] || (_cache[9] = ($event) => $setup.changeFocus(true)),
7889
- onBodyFocusout: _cache[10] || (_cache[10] = ($event) => $options.onTableBodyFocusOut())
7890
- }, {
7891
- row: withCtx(({ row, groupInd, rowInd }) => [createVNode(_component_Row, {
7892
- ref: $options.getRowRefName(groupInd, rowInd),
7893
- "row-data": row,
7894
- row: $options.getRowData(row),
7890
+ }, [
7891
+ createVNode(_component_TableCore, {
7892
+ ref: "tableCore",
7893
+ "scroll-data": $options.scrollData,
7894
+ "total-width": $setup.totalWidth,
7895
+ "column-resize": { active: $setup.columnResizeActive },
7895
7896
  "table-config": $props.tableConfig,
7896
7897
  "sub-menu-config": $props.subMenuConfig,
7897
- "show-drag-handle": $props.tableConfig.enableRowResizing,
7898
- columns: $props.columns,
7899
- "row-config": $props.rowConfig,
7900
- "row-height": $options.currentRowHeight,
7901
- "min-row-height": $options.minRowHeight,
7902
- "is-selected": $options.currentSelectionMap(rowInd, groupInd || 0),
7903
- "select-cells-on-move": $setup.selectCellsOnMove.state,
7904
- "disable-row-height-transition": $props.disableRowHeightTransition,
7905
- "selected-cell-index": $options.getCellIndex($setup.selectedCell, rowInd),
7906
- "cell-selection-range": $options.getCellSelectionRange(rowInd),
7907
- "to-be-expanded-cell-index": $options.getCellIndex($setup.toBeShownCell, rowInd),
7908
- "to-be-edited-cell-index": $options.getCellIndex($setup.editingCell, rowInd),
7898
+ "scroll-config": {
7899
+ itemSize: $options.scrollerItemSize,
7900
+ numRowsAbove: $props.numRowsAbove,
7901
+ numRowsBelow: $props.numRowsBelow,
7902
+ compact: Boolean($props.rowConfig.compactMode)
7903
+ },
7904
+ "current-row-height": $options.currentRowHeight,
7909
7905
  "new-column-button-width": $setup.newColumnButtonWidth,
7910
- onDeleteRow: () => $options.onDeleteRow(rowInd),
7911
- onRowSelect: ($event) => $options.onRowSelect($event, rowInd, groupInd || 0),
7912
- onCellSelect: (cellInd, ignoreIfSelected) => $options.onCellSelectRowEvent(cellInd, rowInd, groupInd, ignoreIfSelected),
7913
- onDataValueView: (cellInd, anchor) => $options.onDataValueView(cellInd, rowInd, anchor),
7914
- onExpandCellSelect: (cellInd) => $options.onExpandCellSelect(cellInd, rowInd, groupInd),
7915
- onRowInput: (event) => $options.onRowInput(event, rowInd, groupInd ?? 0, row),
7916
- onRowSubMenuClick: ($event) => $options.onRowSubMenuClick($event, row),
7917
- onResizeAllRows: (currentSize, row) => $options.onResizeAllRows(currentSize, row, rowInd),
7918
- onResizeRow: (rowSizeDelta) => $options.onResizeRow(rowSizeDelta, rowInd),
7919
- onVirtualColumnNav: (type, direction) => $options.onVirtualColumnNav(type, direction, rowInd, groupInd)
7920
- }, createSlots({
7921
- "editable-cell": withCtx(({ ind, cellElement }) => [renderSlot(_ctx.$slots, "editable-cell", {
7922
- rowInd,
7923
- colInd: ind,
7924
- initialValue: $setup.editingCellInitialValue,
7925
- cellElement,
7926
- onKeydown: _cache[2] || (_cache[2] = (event) => $setup.createEditingCellKeydownHandler({ moveSelection: $options.onKeyboardMoveSelectionFromEditingCell })(event)),
7927
- onClickAway: _cache[3] || (_cache[3] = (...args) => $setup.stopEditingCell && $setup.stopEditingCell(...args))
7928
- }, void 0, true)]),
7929
- _: 2
7930
- }, [renderList($options.slottedColumns, (colInd) => {
7931
- return {
7932
- name: $options.getCellContentSlotName($props.columns, colInd),
7933
- fn: withCtx((cellData) => [renderSlot(_ctx.$slots, `cellContent-${$props.columns[colInd].key}`, { data: {
7934
- ...cellData,
7935
- key: $props.columns[colInd].key,
7936
- rowInd,
7937
- colInd
7938
- } }, void 0, true)])
7939
- };
7940
- })]), 1032, [
7941
- "row-data",
7942
- "row",
7943
- "table-config",
7944
- "sub-menu-config",
7945
- "show-drag-handle",
7946
- "columns",
7947
- "row-config",
7948
- "row-height",
7949
- "min-row-height",
7950
- "is-selected",
7951
- "select-cells-on-move",
7952
- "disable-row-height-transition",
7953
- "selected-cell-index",
7954
- "cell-selection-range",
7955
- "to-be-expanded-cell-index",
7956
- "to-be-edited-cell-index",
7957
- "new-column-button-width",
7958
- "onDeleteRow",
7959
- "onRowSelect",
7960
- "onCellSelect",
7961
- "onDataValueView",
7962
- "onExpandCellSelect",
7963
- "onRowInput",
7964
- "onRowSubMenuClick",
7965
- "onResizeAllRows",
7966
- "onResizeRow",
7967
- "onVirtualColumnNav"
7968
- ])]),
7969
- header: withCtx(({ getDragHandleHeight }) => [createVNode(_component_Header, {
7970
- ref: "header",
7971
- style: normalizeStyle({ width: `var(${$setup.BODY_WIDTH_CSS_VAR})` }),
7972
- "table-config": $props.tableConfig,
7973
- "action-config": $props.actionConfig,
7974
- columns: $props.columns,
7975
- "additional-header-menu-items": $props.additionalHeaderMenuItems,
7976
- "col-sort-values": $props.colSortValues,
7977
- "is-selected": Boolean($props.tableState.totalSelected),
7978
- "get-drag-handle-height": getDragHandleHeight,
7979
- class: normalizeClass(["table-header", { "sub-menu-active": $props.subMenuConfig.subMenuItems?.length }]),
7980
- "show-new-column-button": $setup.showNewColumnAndRowButton,
7981
- "selected-header-index": $options.selectedHeaderIndex,
7982
- onHeaderSelect: $options.onSelectAll,
7983
- onColumnSort: $options.onColumnSort,
7984
- onDeleteColumn: $options.onDeleteColumn,
7985
- onColumnResize: $options.onColumnResize,
7986
- onAllColumnsResize: $options.onAllColumnsResize,
7987
- onColumnResizeStart: $options.onColumnResizeStart,
7988
- onColumnResizeEnd: $options.onColumnResizeEnd,
7989
- onMoveDownFromHeaderCell: $options.onMoveDownFromHeaderCell,
7990
- onHeaderCellSelect: $options.onHeaderCellSelect,
7991
- onHeaderCellDeselect: $options.onHeaderCellDeselect,
7992
- onHeaderCellStartEditing: _cache[4] || (_cache[4] = (columnIndex, initialValue) => _ctx.$emit("headerCellStartEditing", columnIndex, initialValue)),
7993
- "onUpdate:newColumnButtonWidth": $options.onUpdateNewColumnButtonWidth,
7994
- onNewColumnButtonClick: $options.onNewColumnButtonClick,
7995
- onSelectionKeydownDown: _cache[5] || (_cache[5] = ($event) => $options.onHeaderSelectionKeydownDown()),
7996
- onNewColumnButtonKeydownLeft: _cache[6] || (_cache[6] = ($event) => $options.onMoveIntoBodyFromRight())
7906
+ onScrollerUpdate: $options.onScroll,
7907
+ "onUpdate:availableWidth": _cache[8] || (_cache[8] = ($event) => _ctx.$emit("update:available-width", $event)),
7908
+ onMoveSelection: $options.onKeyboardMoveSelection,
7909
+ onClearSelection: $setup.clearCellSelection,
7910
+ onExpandSelectedCell: $options.expandSelectedCell,
7911
+ onStartEditing: $options.onStartEditingCell,
7912
+ onBodyFocusin: _cache[9] || (_cache[9] = ($event) => $setup.changeFocus(true)),
7913
+ onBodyFocusout: _cache[10] || (_cache[10] = ($event) => $options.onTableBodyFocusOut())
7997
7914
  }, {
7998
- subHeader: withCtx((slotProps) => [renderSlot(_ctx.$slots, "subHeader", normalizeProps(guardReactiveProps(slotProps)), void 0, true)]),
7915
+ row: withCtx(({ row, groupInd, rowInd }) => [createVNode(_component_Row, {
7916
+ ref: $options.getRowRefName(groupInd, rowInd),
7917
+ "row-data": row,
7918
+ row: $options.getRowData(row),
7919
+ "table-config": $props.tableConfig,
7920
+ "sub-menu-config": $props.subMenuConfig,
7921
+ "show-drag-handle": $props.tableConfig.enableRowResizing,
7922
+ columns: $props.columns,
7923
+ "row-config": $props.rowConfig,
7924
+ "row-height": $options.currentRowHeight,
7925
+ "min-row-height": $options.minRowHeight,
7926
+ "is-selected": $options.currentSelectionMap(rowInd, groupInd || 0),
7927
+ "select-cells-on-move": $setup.selectCellsOnMove.state,
7928
+ "disable-row-height-transition": $props.disableRowHeightTransition,
7929
+ "selected-cell-index": $options.getCellIndex($setup.selectedCell, rowInd),
7930
+ "cell-selection-range": $options.getCellSelectionRange(rowInd),
7931
+ "to-be-expanded-cell-index": $options.getCellIndex($setup.toBeShownCell, rowInd),
7932
+ "to-be-edited-cell-index": $options.getCellIndex($setup.editingCell, rowInd),
7933
+ "new-column-button-width": $setup.newColumnButtonWidth,
7934
+ onDeleteRow: () => $options.onDeleteRow(rowInd),
7935
+ onRowSelect: ($event) => $options.onRowSelect($event, rowInd, groupInd || 0),
7936
+ onCellSelect: (cellInd, ignoreIfSelected) => $options.onCellSelectRowEvent(cellInd, rowInd, groupInd, ignoreIfSelected),
7937
+ onDataValueView: (cellInd, anchor) => $options.onDataValueView(cellInd, rowInd, anchor),
7938
+ onExpandCellSelect: (cellInd) => $options.onExpandCellSelect(cellInd, rowInd, groupInd),
7939
+ onRowInput: (event) => $options.onRowInput(event, rowInd, groupInd ?? 0, row),
7940
+ onRowSubMenuClick: ($event) => $options.onRowSubMenuClick($event, row),
7941
+ onResizeAllRows: (currentSize, row) => $options.onResizeAllRows(currentSize, row, rowInd),
7942
+ onResizeRow: (rowSizeDelta) => $options.onResizeRow(rowSizeDelta, rowInd),
7943
+ onVirtualColumnNav: (type, direction) => $options.onVirtualColumnNav(type, direction, rowInd, groupInd)
7944
+ }, createSlots({
7945
+ "editable-cell": withCtx(({ ind, cellElement }) => [renderSlot(_ctx.$slots, "editable-cell", {
7946
+ rowInd,
7947
+ colInd: ind,
7948
+ initialValue: $setup.editingCellInitialValue,
7949
+ cellElement,
7950
+ onKeydown: _cache[2] || (_cache[2] = (event) => $setup.createEditingCellKeydownHandler({ moveSelection: $options.onKeyboardMoveSelectionFromEditingCell })(event)),
7951
+ onClickAway: _cache[3] || (_cache[3] = (...args) => $setup.stopEditingCell && $setup.stopEditingCell(...args))
7952
+ }, void 0, true)]),
7953
+ _: 2
7954
+ }, [renderList($options.slottedColumns, (colInd) => {
7955
+ return {
7956
+ name: $options.getCellContentSlotName($props.columns, colInd),
7957
+ fn: withCtx((cellData) => [renderSlot(_ctx.$slots, `cellContent-${$props.columns[colInd].key}`, { data: {
7958
+ ...cellData,
7959
+ key: $props.columns[colInd].key,
7960
+ rowInd,
7961
+ colInd
7962
+ } }, void 0, true)])
7963
+ };
7964
+ })]), 1032, [
7965
+ "row-data",
7966
+ "row",
7967
+ "table-config",
7968
+ "sub-menu-config",
7969
+ "show-drag-handle",
7970
+ "columns",
7971
+ "row-config",
7972
+ "row-height",
7973
+ "min-row-height",
7974
+ "is-selected",
7975
+ "select-cells-on-move",
7976
+ "disable-row-height-transition",
7977
+ "selected-cell-index",
7978
+ "cell-selection-range",
7979
+ "to-be-expanded-cell-index",
7980
+ "to-be-edited-cell-index",
7981
+ "new-column-button-width",
7982
+ "onDeleteRow",
7983
+ "onRowSelect",
7984
+ "onCellSelect",
7985
+ "onDataValueView",
7986
+ "onExpandCellSelect",
7987
+ "onRowInput",
7988
+ "onRowSubMenuClick",
7989
+ "onResizeAllRows",
7990
+ "onResizeRow",
7991
+ "onVirtualColumnNav"
7992
+ ])]),
7993
+ header: withCtx(({ getDragHandleHeight }) => [createVNode(_component_Header, {
7994
+ ref: "header",
7995
+ style: normalizeStyle({ width: `var(${$setup.BODY_WIDTH_CSS_VAR})` }),
7996
+ "table-config": $props.tableConfig,
7997
+ "action-config": $props.actionConfig,
7998
+ columns: $props.columns,
7999
+ "additional-header-menu-items": $props.additionalHeaderMenuItems,
8000
+ "col-sort-values": $props.colSortValues,
8001
+ "is-selected": Boolean($props.tableState.totalSelected),
8002
+ "get-drag-handle-height": getDragHandleHeight,
8003
+ class: normalizeClass(["table-header", { "sub-menu-active": $props.subMenuConfig.subMenuItems?.length }]),
8004
+ "show-new-column-button": $setup.showNewColumnAndRowButton,
8005
+ "selected-header-index": $options.selectedHeaderIndex,
8006
+ onHeaderSelect: $options.onSelectAll,
8007
+ onColumnSort: $options.onColumnSort,
8008
+ onDeleteColumn: $options.onDeleteColumn,
8009
+ onColumnResize: $options.onColumnResize,
8010
+ onAllColumnsResize: $options.onAllColumnsResize,
8011
+ onColumnResizeStart: $options.onColumnResizeStart,
8012
+ onColumnResizeEnd: $options.onColumnResizeEnd,
8013
+ onMoveDownFromHeaderCell: $options.onMoveDownFromHeaderCell,
8014
+ onHeaderCellSelect: $options.onHeaderCellSelect,
8015
+ onHeaderCellDeselect: $options.onHeaderCellDeselect,
8016
+ onHeaderCellStartEditing: _cache[4] || (_cache[4] = (columnIndex, initialValue) => _ctx.$emit("headerCellStartEditing", columnIndex, initialValue)),
8017
+ "onUpdate:newColumnButtonWidth": $options.onUpdateNewColumnButtonWidth,
8018
+ onNewColumnButtonClick: $options.onNewColumnButtonClick,
8019
+ onSelectionKeydownDown: _cache[5] || (_cache[5] = ($event) => $options.onHeaderSelectionKeydownDown()),
8020
+ onNewColumnButtonKeydownLeft: _cache[6] || (_cache[6] = ($event) => $options.onMoveIntoBodyFromRight())
8021
+ }, {
8022
+ subHeader: withCtx((slotProps) => [renderSlot(_ctx.$slots, "subHeader", normalizeProps(guardReactiveProps(slotProps)), void 0, true)]),
8023
+ _: 3
8024
+ }, 8, [
8025
+ "style",
8026
+ "table-config",
8027
+ "action-config",
8028
+ "columns",
8029
+ "additional-header-menu-items",
8030
+ "col-sort-values",
8031
+ "is-selected",
8032
+ "get-drag-handle-height",
8033
+ "class",
8034
+ "show-new-column-button",
8035
+ "selected-header-index",
8036
+ "onHeaderSelect",
8037
+ "onColumnSort",
8038
+ "onDeleteColumn",
8039
+ "onColumnResize",
8040
+ "onAllColumnsResize",
8041
+ "onColumnResizeStart",
8042
+ "onColumnResizeEnd",
8043
+ "onMoveDownFromHeaderCell",
8044
+ "onHeaderCellSelect",
8045
+ "onHeaderCellDeselect",
8046
+ "onUpdate:newColumnButtonWidth",
8047
+ "onNewColumnButtonClick"
8048
+ ])]),
8049
+ "cell-selection-overlay": withCtx(() => [$setup.rectMinMax && !$setup.isEditingCell && $options.selectedHeaderIndex === null ? (openBlock(), createBlock(_component_CellSelectionOverlay, {
8050
+ key: 0,
8051
+ ref: "selectionOverlay",
8052
+ rect: $setup.rectMinMax,
8053
+ "row-height": $options.scrollerItemSize,
8054
+ "table-config": $props.tableConfig,
8055
+ "row-resize-index": $data.currentResizedScrollIndex,
8056
+ "row-resize-delta": $data.currentRowSizeDelta,
8057
+ "cell-selection-rect-focus-corner": $setup.focusWithin ? $setup.selectedCell : void 0
8058
+ }, null, 8, [
8059
+ "rect",
8060
+ "row-height",
8061
+ "table-config",
8062
+ "row-resize-index",
8063
+ "row-resize-delta",
8064
+ "cell-selection-rect-focus-corner"
8065
+ ])) : createCommentVNode("", true)]),
8066
+ belowBody: withCtx(() => [$setup.showNewColumnAndRowButton ? (openBlock(), createBlock(_component_NewRowButton, {
8067
+ key: 0,
8068
+ ref: "new-row-button",
8069
+ onClick: $options.onNewRowButtonClick,
8070
+ onPointerdown: _cache[7] || (_cache[7] = withModifiers(() => {}, ["stop"])),
8071
+ onKeydownUp: $options.onMoveIntoBodyFromBottom
8072
+ }, null, 8, ["onClick", "onKeydownUp"])) : createCommentVNode("", true)]),
7999
8073
  _: 3
8000
8074
  }, 8, [
8001
- "style",
8075
+ "scroll-data",
8076
+ "total-width",
8077
+ "column-resize",
8002
8078
  "table-config",
8003
- "action-config",
8004
- "columns",
8005
- "additional-header-menu-items",
8006
- "col-sort-values",
8007
- "is-selected",
8008
- "get-drag-handle-height",
8009
- "class",
8010
- "show-new-column-button",
8011
- "selected-header-index",
8012
- "onHeaderSelect",
8013
- "onColumnSort",
8014
- "onDeleteColumn",
8015
- "onColumnResize",
8016
- "onAllColumnsResize",
8017
- "onColumnResizeStart",
8018
- "onColumnResizeEnd",
8019
- "onMoveDownFromHeaderCell",
8020
- "onHeaderCellSelect",
8021
- "onHeaderCellDeselect",
8022
- "onUpdate:newColumnButtonWidth",
8023
- "onNewColumnButtonClick"
8024
- ])]),
8025
- "cell-selection-overlay": withCtx(() => [$setup.rectMinMax && !$setup.isEditingCell && $options.selectedHeaderIndex === null ? (openBlock(), createBlock(_component_CellSelectionOverlay, {
8026
- key: 0,
8027
- ref: "selectionOverlay",
8028
- rect: $setup.rectMinMax,
8029
- "row-height": $options.scrollerItemSize,
8079
+ "sub-menu-config",
8080
+ "scroll-config",
8081
+ "current-row-height",
8082
+ "new-column-button-width",
8083
+ "onScrollerUpdate",
8084
+ "onMoveSelection",
8085
+ "onClearSelection",
8086
+ "onExpandSelectedCell",
8087
+ "onStartEditing"
8088
+ ]),
8089
+ $options.totalTableLength === 0 ? (openBlock(), createElementBlock("div", _hoisted_2, [createVNode(_component_KdsEmptyState, mergeProps({ class: "empty-state" }, $props.emptyState), null, 16)])) : createCommentVNode("", true),
8090
+ $props.pageConfig && $props.pageState ? (openBlock(), createBlock(_component_PageControls, {
8091
+ key: 1,
8092
+ "page-config": $props.pageConfig,
8030
8093
  "table-config": $props.tableConfig,
8031
- "row-resize-index": $data.currentResizedScrollIndex,
8032
- "row-resize-delta": $data.currentRowSizeDelta,
8033
- "cell-selection-rect-focus-corner": $setup.focusWithin ? $setup.selectedCell : void 0
8094
+ "page-state": $props.pageState,
8095
+ "table-state": $props.tableState,
8096
+ onPageChange: $options.onPageChange,
8097
+ onPageSizeUpdate: $options.onPageSizeUpdate
8034
8098
  }, null, 8, [
8035
- "rect",
8036
- "row-height",
8099
+ "page-config",
8037
8100
  "table-config",
8038
- "row-resize-index",
8039
- "row-resize-delta",
8040
- "cell-selection-rect-focus-corner"
8041
- ])) : createCommentVNode("", true)]),
8042
- belowBody: withCtx(() => [$setup.showNewColumnAndRowButton ? (openBlock(), createBlock(_component_NewRowButton, {
8043
- key: 0,
8044
- ref: "new-row-button",
8045
- onClick: $options.onNewRowButtonClick,
8046
- onPointerdown: _cache[7] || (_cache[7] = withModifiers(() => {}, ["stop"])),
8047
- onKeydownUp: $options.onMoveIntoBodyFromBottom
8048
- }, null, 8, ["onClick", "onKeydownUp"])) : createCommentVNode("", true)]),
8049
- _: 3
8050
- }, 8, [
8051
- "scroll-data",
8052
- "total-width",
8053
- "column-resize",
8054
- "table-config",
8055
- "sub-menu-config",
8056
- "scroll-config",
8057
- "current-row-height",
8058
- "new-column-button-width",
8059
- "onScrollerUpdate",
8060
- "onMoveSelection",
8061
- "onClearSelection",
8062
- "onExpandSelectedCell",
8063
- "onStartEditing"
8064
- ]), $props.pageConfig && $props.pageState ? (openBlock(), createBlock(_component_PageControls, {
8065
- key: 0,
8066
- "page-config": $props.pageConfig,
8067
- "table-config": $props.tableConfig,
8068
- "page-state": $props.pageState,
8069
- "table-state": $props.tableState,
8070
- onPageChange: $options.onPageChange,
8071
- onPageSizeUpdate: $options.onPageSizeUpdate
8072
- }, null, 8, [
8073
- "page-config",
8074
- "table-config",
8075
- "page-state",
8076
- "table-state",
8077
- "onPageChange",
8078
- "onPageSizeUpdate"
8079
- ])) : createCommentVNode("", true)], 544)]);
8101
+ "page-state",
8102
+ "table-state",
8103
+ "onPageChange",
8104
+ "onPageSizeUpdate"
8105
+ ])) : createCommentVNode("", true)
8106
+ ], 544)]);
8080
8107
  }
8081
- var TableUI_default = /*#__PURE__*/ _plugin_vue_export_helper_default(TableUI_vue_vue_type_script_lang_default, [["render", _sfc_render$1], ["__scopeId", "data-v-d531fa0a"]]);
8108
+ var TableUI_default = /*#__PURE__*/ _plugin_vue_export_helper_default(TableUI_vue_vue_type_script_lang_default, [["render", _sfc_render$1], ["__scopeId", "data-v-1941898e"]]);
8082
8109
  //#endregion
8083
8110
  //#region src/components/composables/useTableReady.ts
8084
8111
  var useTableReady = ({ onReady }) => {