@tailor-cms/ce-table-display 2.0.1 → 2.0.4

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.cjs CHANGED
@@ -69,7 +69,8 @@ function objectToString(value) {
69
69
  //#endregion
70
70
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
71
71
  /** `Object#toString` result references. */
72
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
72
+ var nullTag = "[object Null]";
73
+ var undefinedTag = "[object Undefined]";
73
74
  /** Built-in value references. */
74
75
  var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
75
76
  /**
@@ -183,7 +184,8 @@ var isArray = Array.isArray;
183
184
  /** Used as references for various `Number` constants. */
184
185
  var INFINITY$2 = Infinity;
185
186
  /** Used to convert symbols to primitives and strings. */
186
- var symbolProto$1 = Symbol ? Symbol.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
187
+ var symbolProto$1 = Symbol ? Symbol.prototype : void 0;
188
+ var symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
187
189
  /**
188
190
  * The base implementation of `_.toString` which doesn't convert nullish
189
191
  * values to empty strings.
@@ -311,7 +313,8 @@ function toNumber(value) {
311
313
  //#endregion
312
314
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
313
315
  /** Used as references for various `Number` constants. */
314
- var INFINITY$1 = Infinity, MAX_INTEGER = 17976931348623157e292;
316
+ var INFINITY$1 = Infinity;
317
+ var MAX_INTEGER = 17976931348623157e292;
315
318
  /**
316
319
  * Converts `value` to a finite number.
317
320
  *
@@ -397,7 +400,10 @@ function identity(value) {
397
400
  //#endregion
398
401
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
399
402
  /** `Object#toString` result references. */
400
- var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
403
+ var asyncTag = "[object AsyncFunction]";
404
+ var funcTag$1 = "[object Function]";
405
+ var genTag = "[object GeneratorFunction]";
406
+ var proxyTag = "[object Proxy]";
401
407
  /**
402
408
  * Checks if `value` is classified as a `Function` object.
403
409
  *
@@ -473,7 +479,8 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
473
479
  /** Used to detect host constructors (Safari). */
474
480
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
475
481
  /** Used for built-in method references. */
476
- var funcProto = Function.prototype, objectProto$2 = Object.prototype;
482
+ var funcProto = Function.prototype;
483
+ var objectProto$2 = Object.prototype;
477
484
  /** Used to resolve the decompiled source of functions. */
478
485
  var funcToString = funcProto.toString;
479
486
  /** Used to check objects for own properties. */
@@ -546,7 +553,8 @@ function apply(func, thisArg, args) {
546
553
  //#endregion
547
554
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
548
555
  /** Used to detect hot functions by number of calls within a span of milliseconds. */
549
- var HOT_COUNT = 800, HOT_SPAN = 16;
556
+ var HOT_COUNT = 800;
557
+ var HOT_SPAN = 16;
550
558
  var nativeNow = Date.now;
551
559
  /**
552
560
  * Creates a function that'll short out and invoke `identity` instead
@@ -918,8 +926,30 @@ var isBuffer = (Buffer ? Buffer.isBuffer : void 0) || stubFalse;
918
926
  //#endregion
919
927
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
920
928
  /** `Object#toString` result references. */
921
- var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
922
- var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
929
+ var argsTag$1 = "[object Arguments]";
930
+ var arrayTag$1 = "[object Array]";
931
+ var boolTag$1 = "[object Boolean]";
932
+ var dateTag$1 = "[object Date]";
933
+ var errorTag$1 = "[object Error]";
934
+ var funcTag = "[object Function]";
935
+ var mapTag$2 = "[object Map]";
936
+ var numberTag$1 = "[object Number]";
937
+ var objectTag$2 = "[object Object]";
938
+ var regexpTag$1 = "[object RegExp]";
939
+ var setTag$2 = "[object Set]";
940
+ var stringTag$1 = "[object String]";
941
+ var weakMapTag$1 = "[object WeakMap]";
942
+ var arrayBufferTag$1 = "[object ArrayBuffer]";
943
+ var dataViewTag$2 = "[object DataView]";
944
+ var float32Tag = "[object Float32Array]";
945
+ var float64Tag = "[object Float64Array]";
946
+ var int8Tag = "[object Int8Array]";
947
+ var int16Tag = "[object Int16Array]";
948
+ var int32Tag = "[object Int32Array]";
949
+ var uint8Tag = "[object Uint8Array]";
950
+ var uint8ClampedTag = "[object Uint8ClampedArray]";
951
+ var uint16Tag = "[object Uint16Array]";
952
+ var uint32Tag = "[object Uint32Array]";
923
953
  /** Used to identify `toStringTag` values of typed arrays. */
924
954
  var typedArrayTags = {};
925
955
  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
@@ -1073,7 +1103,8 @@ function keys(object) {
1073
1103
  //#endregion
1074
1104
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
1075
1105
  /** Used to match property names within property paths. */
1076
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
1106
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
1107
+ var reIsPlainProp = /^\w*$/;
1077
1108
  /**
1078
1109
  * Checks if `value` is a property name and not a property path.
1079
1110
  *
@@ -1919,10 +1950,18 @@ var Set = getNative(root, "Set");
1919
1950
  //#endregion
1920
1951
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
1921
1952
  /** `Object#toString` result references. */
1922
- var mapTag$1 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$1 = "[object Set]", weakMapTag = "[object WeakMap]";
1953
+ var mapTag$1 = "[object Map]";
1954
+ var objectTag$1 = "[object Object]";
1955
+ var promiseTag = "[object Promise]";
1956
+ var setTag$1 = "[object Set]";
1957
+ var weakMapTag = "[object WeakMap]";
1923
1958
  var dataViewTag$1 = "[object DataView]";
1924
1959
  /** Used to detect maps, sets, and weakmaps. */
1925
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
1960
+ var dataViewCtorString = toSource(DataView);
1961
+ var mapCtorString = toSource(Map);
1962
+ var promiseCtorString = toSource(Promise$1);
1963
+ var setCtorString = toSource(Set);
1964
+ var weakMapCtorString = toSource(WeakMap);
1926
1965
  /**
1927
1966
  * Gets the `toStringTag` of `value`.
1928
1967
  *
@@ -2029,7 +2068,8 @@ function cacheHas(cache, key) {
2029
2068
  //#endregion
2030
2069
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
2031
2070
  /** Used to compose bitmasks for value comparisons. */
2032
- var COMPARE_PARTIAL_FLAG$5 = 1, COMPARE_UNORDERED_FLAG$3 = 2;
2071
+ var COMPARE_PARTIAL_FLAG$5 = 1;
2072
+ var COMPARE_UNORDERED_FLAG$3 = 2;
2033
2073
  /**
2034
2074
  * A specialized version of `baseIsEqualDeep` for arrays with support for
2035
2075
  * partial deep comparisons.
@@ -2111,12 +2151,23 @@ function setToArray(set) {
2111
2151
  //#endregion
2112
2152
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
2113
2153
  /** Used to compose bitmasks for value comparisons. */
2114
- var COMPARE_PARTIAL_FLAG$4 = 1, COMPARE_UNORDERED_FLAG$2 = 2;
2154
+ var COMPARE_PARTIAL_FLAG$4 = 1;
2155
+ var COMPARE_UNORDERED_FLAG$2 = 2;
2115
2156
  /** `Object#toString` result references. */
2116
- var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
2117
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]";
2157
+ var boolTag = "[object Boolean]";
2158
+ var dateTag = "[object Date]";
2159
+ var errorTag = "[object Error]";
2160
+ var mapTag = "[object Map]";
2161
+ var numberTag = "[object Number]";
2162
+ var regexpTag = "[object RegExp]";
2163
+ var setTag = "[object Set]";
2164
+ var stringTag = "[object String]";
2165
+ var symbolTag = "[object Symbol]";
2166
+ var arrayBufferTag = "[object ArrayBuffer]";
2167
+ var dataViewTag = "[object DataView]";
2118
2168
  /** Used to convert symbols to primitives and strings. */
2119
- var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2169
+ var symbolProto = Symbol ? Symbol.prototype : void 0;
2170
+ var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2120
2171
  /**
2121
2172
  * A specialized version of `baseIsEqualDeep` for comparing objects of
2122
2173
  * the same `toStringTag`.
@@ -2222,7 +2273,9 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
2222
2273
  /** Used to compose bitmasks for value comparisons. */
2223
2274
  var COMPARE_PARTIAL_FLAG$2 = 1;
2224
2275
  /** `Object#toString` result references. */
2225
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
2276
+ var argsTag = "[object Arguments]";
2277
+ var arrayTag = "[object Array]";
2278
+ var objectTag = "[object Object]";
2226
2279
  /** Used to check objects for own properties. */
2227
2280
  var hasOwnProperty = Object.prototype.hasOwnProperty;
2228
2281
  /**
@@ -2289,7 +2342,8 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
2289
2342
  //#endregion
2290
2343
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
2291
2344
  /** Used to compose bitmasks for value comparisons. */
2292
- var COMPARE_PARTIAL_FLAG$1 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
2345
+ var COMPARE_PARTIAL_FLAG$1 = 1;
2346
+ var COMPARE_UNORDERED_FLAG$1 = 2;
2293
2347
  /**
2294
2348
  * The base implementation of `_.isMatch` without support for iteratee shorthands.
2295
2349
  *
@@ -2458,7 +2512,8 @@ function hasIn(object, path) {
2458
2512
  //#endregion
2459
2513
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
2460
2514
  /** Used to compose bitmasks for value comparisons. */
2461
- var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
2515
+ var COMPARE_PARTIAL_FLAG = 1;
2516
+ var COMPARE_UNORDERED_FLAG = 2;
2462
2517
  /**
2463
2518
  * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
2464
2519
  *
@@ -2821,20 +2876,20 @@ function times(n, iteratee) {
2821
2876
  return result;
2822
2877
  }
2823
2878
  //#endregion
2824
- //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/stringify.js
2879
+ //#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/stringify.js
2825
2880
  var byteToHex = [];
2826
2881
  for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).slice(1));
2827
2882
  function unsafeStringify(arr, offset = 0) {
2828
2883
  return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
2829
2884
  }
2830
2885
  //#endregion
2831
- //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/rng.js
2832
- var rnds8 = new Uint8Array(16);
2886
+ //#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/rng.js
2887
+ var rnds8 = /* @__PURE__ */ new Uint8Array(16);
2833
2888
  function rng() {
2834
2889
  return crypto.getRandomValues(rnds8);
2835
2890
  }
2836
2891
  //#endregion
2837
- //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/v4.js
2892
+ //#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/v4.js
2838
2893
  function v4(options, buf, offset) {
2839
2894
  if (!buf && !options && crypto.randomUUID) return crypto.randomUUID();
2840
2895
  return _v4(options, buf, offset);
@@ -2986,11 +3041,13 @@ var manifest$1 = {
2986
3041
  };
2987
3042
  //#endregion
2988
3043
  //#region src/components/Display.vue?vue&type=script&setup=true&lang.ts
2989
- var _hoisted_1 = { class: "tce-table-root" };
3044
+ var _hoisted_1 = {
3045
+ class: "tce-table-root",
3046
+ tabindex: "0"
3047
+ };
2990
3048
  var _hoisted_2 = { class: "table" };
2991
- var _hoisted_3 = { class: "cell col-xs-12" };
2992
- var _hoisted_4 = ["innerHTML"];
2993
- var Display_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
3049
+ var _hoisted_3 = ["innerHTML"];
3050
+ var Display_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.defineComponent)({
2994
3051
  __name: "Display",
2995
3052
  props: { element: {} },
2996
3053
  setup(__props) {
@@ -3013,20 +3070,20 @@ var Display_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vu
3013
3070
  return sortBy(props.element.data.rows, "position").map((row) => mapRow(row, props.element.data.embeds));
3014
3071
  });
3015
3072
  return (_ctx, _cache) => {
3016
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1, [(0, vue.createElementVNode)("div", _hoisted_2, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(table.value, (row) => {
3017
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
3073
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1, [(0, vue.createElementVNode)("table", _hoisted_2, [(0, vue.createElementVNode)("tbody", null, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(table.value, (row) => {
3074
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("tr", {
3018
3075
  key: row.id,
3019
3076
  class: "table-row"
3020
3077
  }, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(row.cells, (cell) => {
3021
- return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
3078
+ return (0, vue.openBlock)(), (0, vue.createElementBlock)("td", {
3022
3079
  key: cell.id,
3023
3080
  class: "table-cell"
3024
- }, [(0, vue.createElementVNode)("div", _hoisted_3, [(0, vue.createElementVNode)("div", {
3081
+ }, [(0, vue.createElementVNode)("div", {
3025
3082
  class: "cell-content",
3026
3083
  innerHTML: cell.content
3027
- }, null, 8, _hoisted_4)])]);
3084
+ }, null, 8, _hoisted_3)]);
3028
3085
  }), 128))]);
3029
- }), 128))])]);
3086
+ }), 128))])])]);
3030
3087
  };
3031
3088
  }
3032
3089
  });
@@ -3039,7 +3096,7 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
3039
3096
  };
3040
3097
  //#endregion
3041
3098
  //#region src/components/Display.vue
3042
- var Display_default = /* @__PURE__ */ _plugin_vue_export_helper_default(Display_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ed3d2c98"]]);
3099
+ var Display_default = /*#__PURE__*/ _plugin_vue_export_helper_default(Display_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-d508aa75"]]);
3043
3100
  //#endregion
3044
3101
  //#region src/index.ts
3045
3102
  var manifest = {
package/dist/index.css CHANGED
@@ -1,32 +1,32 @@
1
1
 
2
- .table {
3
- &[data-v-ed3d2c98] {
4
- display: table;
5
- border-collapse: collapse;
6
- }
7
- .table-row[data-v-ed3d2c98] {
8
- display: table-row;
9
- }
10
- .table-cell {
11
- &[data-v-ed3d2c98] {
12
- display: table-cell;
13
- width: 312px;
14
- border: 1px solid rgba(var(--v-theme-on-surface), 0.12);
15
- }
16
- .cell {
17
- &[data-v-ed3d2c98] {
18
- padding: 0;
19
- }
20
- .cell-content {
21
- &[data-v-ed3d2c98] {
22
- min-height: 42px;
23
- padding: 12px 15px;
24
- }
25
- [data-v-ed3d2c98] {
26
- margin: 0;
27
- padding: 0;
2
+ /* Wide tables scroll instead of compressing columns to unreadable slivers. */
3
+ .tce-table-root[data-v-d508aa75] {
4
+ max-width: 100%;
5
+ overflow-x: auto;
6
+ overscroll-behavior-x: contain;
28
7
  }
8
+ .table[data-v-d508aa75] {
9
+ border-collapse: collapse;
10
+ inline-size: max-content;
11
+ max-inline-size: 100%;
12
+ }
13
+ .table-cell[data-v-d508aa75] {
14
+ min-width: 12rem;
15
+ padding: 0.75rem 1rem;
16
+ /* The M3 `outline-*` roles are not defined in the display runtime's theme. */
17
+ border: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
18
+ vertical-align: top;
19
+ text-align: left;
20
+ overflow-wrap: break-word;
29
21
  }
22
+
23
+ /* Keep the authored rich text's spacing, flush with the cell padding. */
24
+ .cell-content[data-v-d508aa75] > :first-child {
25
+ margin-block-start: 0;
30
26
  }
27
+ .cell-content[data-v-d508aa75] > :last-child {
28
+ margin-block-end: 0;
31
29
  }
30
+ .cell-content[data-v-d508aa75] :where(ul, ol) {
31
+ padding-inline-start: 1.25rem;
32
32
  }
package/dist/index.js CHANGED
@@ -65,7 +65,8 @@ function objectToString(value) {
65
65
  //#endregion
66
66
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
67
67
  /** `Object#toString` result references. */
68
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
68
+ var nullTag = "[object Null]";
69
+ var undefinedTag = "[object Undefined]";
69
70
  /** Built-in value references. */
70
71
  var symToStringTag = Symbol ? Symbol.toStringTag : void 0;
71
72
  /**
@@ -179,7 +180,8 @@ var isArray = Array.isArray;
179
180
  /** Used as references for various `Number` constants. */
180
181
  var INFINITY$2 = Infinity;
181
182
  /** Used to convert symbols to primitives and strings. */
182
- var symbolProto$1 = Symbol ? Symbol.prototype : void 0, symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
183
+ var symbolProto$1 = Symbol ? Symbol.prototype : void 0;
184
+ var symbolToString = symbolProto$1 ? symbolProto$1.toString : void 0;
183
185
  /**
184
186
  * The base implementation of `_.toString` which doesn't convert nullish
185
187
  * values to empty strings.
@@ -307,7 +309,8 @@ function toNumber(value) {
307
309
  //#endregion
308
310
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toFinite.js
309
311
  /** Used as references for various `Number` constants. */
310
- var INFINITY$1 = Infinity, MAX_INTEGER = 17976931348623157e292;
312
+ var INFINITY$1 = Infinity;
313
+ var MAX_INTEGER = 17976931348623157e292;
311
314
  /**
312
315
  * Converts `value` to a finite number.
313
316
  *
@@ -393,7 +396,10 @@ function identity(value) {
393
396
  //#endregion
394
397
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
395
398
  /** `Object#toString` result references. */
396
- var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
399
+ var asyncTag = "[object AsyncFunction]";
400
+ var funcTag$1 = "[object Function]";
401
+ var genTag = "[object GeneratorFunction]";
402
+ var proxyTag = "[object Proxy]";
397
403
  /**
398
404
  * Checks if `value` is classified as a `Function` object.
399
405
  *
@@ -469,7 +475,8 @@ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
469
475
  /** Used to detect host constructors (Safari). */
470
476
  var reIsHostCtor = /^\[object .+?Constructor\]$/;
471
477
  /** Used for built-in method references. */
472
- var funcProto = Function.prototype, objectProto$2 = Object.prototype;
478
+ var funcProto = Function.prototype;
479
+ var objectProto$2 = Object.prototype;
473
480
  /** Used to resolve the decompiled source of functions. */
474
481
  var funcToString = funcProto.toString;
475
482
  /** Used to check objects for own properties. */
@@ -542,7 +549,8 @@ function apply(func, thisArg, args) {
542
549
  //#endregion
543
550
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js
544
551
  /** Used to detect hot functions by number of calls within a span of milliseconds. */
545
- var HOT_COUNT = 800, HOT_SPAN = 16;
552
+ var HOT_COUNT = 800;
553
+ var HOT_SPAN = 16;
546
554
  var nativeNow = Date.now;
547
555
  /**
548
556
  * Creates a function that'll short out and invoke `identity` instead
@@ -914,8 +922,30 @@ var isBuffer = (Buffer ? Buffer.isBuffer : void 0) || stubFalse;
914
922
  //#endregion
915
923
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js
916
924
  /** `Object#toString` result references. */
917
- var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
918
- var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
925
+ var argsTag$1 = "[object Arguments]";
926
+ var arrayTag$1 = "[object Array]";
927
+ var boolTag$1 = "[object Boolean]";
928
+ var dateTag$1 = "[object Date]";
929
+ var errorTag$1 = "[object Error]";
930
+ var funcTag = "[object Function]";
931
+ var mapTag$2 = "[object Map]";
932
+ var numberTag$1 = "[object Number]";
933
+ var objectTag$2 = "[object Object]";
934
+ var regexpTag$1 = "[object RegExp]";
935
+ var setTag$2 = "[object Set]";
936
+ var stringTag$1 = "[object String]";
937
+ var weakMapTag$1 = "[object WeakMap]";
938
+ var arrayBufferTag$1 = "[object ArrayBuffer]";
939
+ var dataViewTag$2 = "[object DataView]";
940
+ var float32Tag = "[object Float32Array]";
941
+ var float64Tag = "[object Float64Array]";
942
+ var int8Tag = "[object Int8Array]";
943
+ var int16Tag = "[object Int16Array]";
944
+ var int32Tag = "[object Int32Array]";
945
+ var uint8Tag = "[object Uint8Array]";
946
+ var uint8ClampedTag = "[object Uint8ClampedArray]";
947
+ var uint16Tag = "[object Uint16Array]";
948
+ var uint32Tag = "[object Uint32Array]";
919
949
  /** Used to identify `toStringTag` values of typed arrays. */
920
950
  var typedArrayTags = {};
921
951
  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
@@ -1069,7 +1099,8 @@ function keys(object) {
1069
1099
  //#endregion
1070
1100
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
1071
1101
  /** Used to match property names within property paths. */
1072
- var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, reIsPlainProp = /^\w*$/;
1102
+ var reIsDeepProp = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/;
1103
+ var reIsPlainProp = /^\w*$/;
1073
1104
  /**
1074
1105
  * Checks if `value` is a property name and not a property path.
1075
1106
  *
@@ -1915,10 +1946,18 @@ var Set = getNative(root, "Set");
1915
1946
  //#endregion
1916
1947
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js
1917
1948
  /** `Object#toString` result references. */
1918
- var mapTag$1 = "[object Map]", objectTag$1 = "[object Object]", promiseTag = "[object Promise]", setTag$1 = "[object Set]", weakMapTag = "[object WeakMap]";
1949
+ var mapTag$1 = "[object Map]";
1950
+ var objectTag$1 = "[object Object]";
1951
+ var promiseTag = "[object Promise]";
1952
+ var setTag$1 = "[object Set]";
1953
+ var weakMapTag = "[object WeakMap]";
1919
1954
  var dataViewTag$1 = "[object DataView]";
1920
1955
  /** Used to detect maps, sets, and weakmaps. */
1921
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set), weakMapCtorString = toSource(WeakMap);
1956
+ var dataViewCtorString = toSource(DataView);
1957
+ var mapCtorString = toSource(Map);
1958
+ var promiseCtorString = toSource(Promise$1);
1959
+ var setCtorString = toSource(Set);
1960
+ var weakMapCtorString = toSource(WeakMap);
1922
1961
  /**
1923
1962
  * Gets the `toStringTag` of `value`.
1924
1963
  *
@@ -2025,7 +2064,8 @@ function cacheHas(cache, key) {
2025
2064
  //#endregion
2026
2065
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js
2027
2066
  /** Used to compose bitmasks for value comparisons. */
2028
- var COMPARE_PARTIAL_FLAG$5 = 1, COMPARE_UNORDERED_FLAG$3 = 2;
2067
+ var COMPARE_PARTIAL_FLAG$5 = 1;
2068
+ var COMPARE_UNORDERED_FLAG$3 = 2;
2029
2069
  /**
2030
2070
  * A specialized version of `baseIsEqualDeep` for arrays with support for
2031
2071
  * partial deep comparisons.
@@ -2107,12 +2147,23 @@ function setToArray(set) {
2107
2147
  //#endregion
2108
2148
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js
2109
2149
  /** Used to compose bitmasks for value comparisons. */
2110
- var COMPARE_PARTIAL_FLAG$4 = 1, COMPARE_UNORDERED_FLAG$2 = 2;
2150
+ var COMPARE_PARTIAL_FLAG$4 = 1;
2151
+ var COMPARE_UNORDERED_FLAG$2 = 2;
2111
2152
  /** `Object#toString` result references. */
2112
- var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
2113
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]";
2153
+ var boolTag = "[object Boolean]";
2154
+ var dateTag = "[object Date]";
2155
+ var errorTag = "[object Error]";
2156
+ var mapTag = "[object Map]";
2157
+ var numberTag = "[object Number]";
2158
+ var regexpTag = "[object RegExp]";
2159
+ var setTag = "[object Set]";
2160
+ var stringTag = "[object String]";
2161
+ var symbolTag = "[object Symbol]";
2162
+ var arrayBufferTag = "[object ArrayBuffer]";
2163
+ var dataViewTag = "[object DataView]";
2114
2164
  /** Used to convert symbols to primitives and strings. */
2115
- var symbolProto = Symbol ? Symbol.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2165
+ var symbolProto = Symbol ? Symbol.prototype : void 0;
2166
+ var symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2116
2167
  /**
2117
2168
  * A specialized version of `baseIsEqualDeep` for comparing objects of
2118
2169
  * the same `toStringTag`.
@@ -2218,7 +2269,9 @@ function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {
2218
2269
  /** Used to compose bitmasks for value comparisons. */
2219
2270
  var COMPARE_PARTIAL_FLAG$2 = 1;
2220
2271
  /** `Object#toString` result references. */
2221
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
2272
+ var argsTag = "[object Arguments]";
2273
+ var arrayTag = "[object Array]";
2274
+ var objectTag = "[object Object]";
2222
2275
  /** Used to check objects for own properties. */
2223
2276
  var hasOwnProperty = Object.prototype.hasOwnProperty;
2224
2277
  /**
@@ -2285,7 +2338,8 @@ function baseIsEqual(value, other, bitmask, customizer, stack) {
2285
2338
  //#endregion
2286
2339
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMatch.js
2287
2340
  /** Used to compose bitmasks for value comparisons. */
2288
- var COMPARE_PARTIAL_FLAG$1 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
2341
+ var COMPARE_PARTIAL_FLAG$1 = 1;
2342
+ var COMPARE_UNORDERED_FLAG$1 = 2;
2289
2343
  /**
2290
2344
  * The base implementation of `_.isMatch` without support for iteratee shorthands.
2291
2345
  *
@@ -2454,7 +2508,8 @@ function hasIn(object, path) {
2454
2508
  //#endregion
2455
2509
  //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseMatchesProperty.js
2456
2510
  /** Used to compose bitmasks for value comparisons. */
2457
- var COMPARE_PARTIAL_FLAG = 1, COMPARE_UNORDERED_FLAG = 2;
2511
+ var COMPARE_PARTIAL_FLAG = 1;
2512
+ var COMPARE_UNORDERED_FLAG = 2;
2458
2513
  /**
2459
2514
  * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.
2460
2515
  *
@@ -2817,20 +2872,20 @@ function times(n, iteratee) {
2817
2872
  return result;
2818
2873
  }
2819
2874
  //#endregion
2820
- //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/stringify.js
2875
+ //#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/stringify.js
2821
2876
  var byteToHex = [];
2822
2877
  for (let i = 0; i < 256; ++i) byteToHex.push((i + 256).toString(16).slice(1));
2823
2878
  function unsafeStringify(arr, offset = 0) {
2824
2879
  return (byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]]).toLowerCase();
2825
2880
  }
2826
2881
  //#endregion
2827
- //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/rng.js
2828
- var rnds8 = new Uint8Array(16);
2882
+ //#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/rng.js
2883
+ var rnds8 = /* @__PURE__ */ new Uint8Array(16);
2829
2884
  function rng() {
2830
2885
  return crypto.getRandomValues(rnds8);
2831
2886
  }
2832
2887
  //#endregion
2833
- //#region ../../node_modules/.pnpm/uuid@14.0.0/node_modules/uuid/dist/v4.js
2888
+ //#region ../../node_modules/.pnpm/uuid@14.0.1/node_modules/uuid/dist/v4.js
2834
2889
  function v4(options, buf, offset) {
2835
2890
  if (!buf && !options && crypto.randomUUID) return crypto.randomUUID();
2836
2891
  return _v4(options, buf, offset);
@@ -2982,11 +3037,13 @@ var manifest$1 = {
2982
3037
  };
2983
3038
  //#endregion
2984
3039
  //#region src/components/Display.vue?vue&type=script&setup=true&lang.ts
2985
- var _hoisted_1 = { class: "tce-table-root" };
3040
+ var _hoisted_1 = {
3041
+ class: "tce-table-root",
3042
+ tabindex: "0"
3043
+ };
2986
3044
  var _hoisted_2 = { class: "table" };
2987
- var _hoisted_3 = { class: "cell col-xs-12" };
2988
- var _hoisted_4 = ["innerHTML"];
2989
- var Display_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
3045
+ var _hoisted_3 = ["innerHTML"];
3046
+ var Display_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
2990
3047
  __name: "Display",
2991
3048
  props: { element: {} },
2992
3049
  setup(__props) {
@@ -3009,20 +3066,20 @@ var Display_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ define
3009
3066
  return sortBy(props.element.data.rows, "position").map((row) => mapRow(row, props.element.data.embeds));
3010
3067
  });
3011
3068
  return (_ctx, _cache) => {
3012
- return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("div", _hoisted_2, [(openBlock(true), createElementBlock(Fragment, null, renderList(table.value, (row) => {
3013
- return openBlock(), createElementBlock("div", {
3069
+ return openBlock(), createElementBlock("div", _hoisted_1, [createElementVNode("table", _hoisted_2, [createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(table.value, (row) => {
3070
+ return openBlock(), createElementBlock("tr", {
3014
3071
  key: row.id,
3015
3072
  class: "table-row"
3016
3073
  }, [(openBlock(true), createElementBlock(Fragment, null, renderList(row.cells, (cell) => {
3017
- return openBlock(), createElementBlock("div", {
3074
+ return openBlock(), createElementBlock("td", {
3018
3075
  key: cell.id,
3019
3076
  class: "table-cell"
3020
- }, [createElementVNode("div", _hoisted_3, [createElementVNode("div", {
3077
+ }, [createElementVNode("div", {
3021
3078
  class: "cell-content",
3022
3079
  innerHTML: cell.content
3023
- }, null, 8, _hoisted_4)])]);
3080
+ }, null, 8, _hoisted_3)]);
3024
3081
  }), 128))]);
3025
- }), 128))])]);
3082
+ }), 128))])])]);
3026
3083
  };
3027
3084
  }
3028
3085
  });
@@ -3035,7 +3092,7 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
3035
3092
  };
3036
3093
  //#endregion
3037
3094
  //#region src/components/Display.vue
3038
- var Display_default = /* @__PURE__ */ _plugin_vue_export_helper_default(Display_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ed3d2c98"]]);
3095
+ var Display_default = /*#__PURE__*/ _plugin_vue_export_helper_default(Display_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-d508aa75"]]);
3039
3096
  //#endregion
3040
3097
  //#region src/index.ts
3041
3098
  var manifest = {
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Tailor CMS table end-user component",
4
4
  "author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
5
5
  "type": "module",
6
- "version": "2.0.1",
6
+ "version": "2.0.4",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/index.js",
@@ -19,15 +19,15 @@
19
19
  "vue": "^3.5.29"
20
20
  },
21
21
  "devDependencies": {
22
- "@tailor-cms/eslint-config": "2.0.1",
22
+ "@tailor-cms/eslint-config": "2.0.3",
23
23
  "@types/lodash-es": "^4.17.12",
24
- "@vitejs/plugin-vue": "^6.0.6",
24
+ "@vitejs/plugin-vue": "^6.0.8",
25
25
  "typescript": "^6.0.3",
26
- "vite": "^8.0.10",
26
+ "vite": "^8.1.5",
27
27
  "vite-plugin-lib-inject-css": "^2.2.2",
28
- "vue-tsc": "^3.2.7",
29
- "vuetify": "^4.0.6",
30
- "@tailor-cms/ce-table-manifest": "2.0.1"
28
+ "vue-tsc": "^3.3.8",
29
+ "vuetify": "^4.1.6",
30
+ "@tailor-cms/ce-table-manifest": "2.0.4"
31
31
  },
32
32
  "dependencies": {
33
33
  "lodash-es": "^4.18.1"
@@ -36,7 +36,7 @@
36
36
  "access": "public"
37
37
  },
38
38
  "engines": {
39
- "node": ">=24"
39
+ "node": ">=26"
40
40
  },
41
41
  "scripts": {
42
42
  "dev": "vite build --watch",