vue-devui 1.5.11 → 1.5.12

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.
Files changed (43) hide show
  1. package/checkbox/index.es.js +71 -45
  2. package/checkbox/index.umd.js +9 -9
  3. package/date-picker-pro/index.es.js +64 -40
  4. package/date-picker-pro/index.umd.js +11 -11
  5. package/date-picker-pro/style.css +1 -1
  6. package/editor-md/index.es.js +609 -1401
  7. package/editor-md/index.umd.js +47 -47
  8. package/editor-md/style.css +1 -1
  9. package/package.json +1 -1
  10. package/pagination/index.es.js +94 -68
  11. package/pagination/index.umd.js +13 -13
  12. package/radio/index.es.js +65 -30
  13. package/radio/index.umd.js +15 -15
  14. package/radio/style.css +1 -1
  15. package/select/index.es.js +71 -45
  16. package/select/index.umd.js +14 -14
  17. package/slider/index.es.js +2 -2
  18. package/slider/index.umd.js +1 -1
  19. package/style.css +1 -1
  20. package/switch/index.es.js +50 -26
  21. package/switch/index.umd.js +16 -16
  22. package/table/index.es.js +82 -57
  23. package/table/index.umd.js +18 -18
  24. package/time-picker/index.es.js +78 -53
  25. package/time-picker/index.umd.js +13 -13
  26. package/time-picker/style.css +1 -1
  27. package/time-select/index.es.js +71 -45
  28. package/time-select/index.umd.js +11 -11
  29. package/tree/index.es.js +45 -20
  30. package/tree/index.umd.js +9 -9
  31. package/types/checkbox/src/checkbox-button.d.ts +3 -0
  32. package/types/checkbox/src/checkbox-group.d.ts +3 -0
  33. package/types/checkbox/src/checkbox-types.d.ts +4 -2
  34. package/types/checkbox/src/checkbox.d.ts +3 -0
  35. package/types/radio/src/radio-button.d.ts +9 -0
  36. package/types/radio/src/radio-types.d.ts +5 -1
  37. package/types/radio/src/radio.d.ts +9 -0
  38. package/types/transfer/src/components/transfer-panel.d.ts +1 -1
  39. package/types/transfer/src/composables/use-transfer-panel.d.ts +1 -1
  40. package/types/transfer/src/composables/use-transfer.d.ts +2 -2
  41. package/types/transfer/src/transfer.d.ts +1 -1
  42. package/vue-devui.es.js +1111 -1870
  43. package/vue-devui.umd.js +85 -85
package/table/index.es.js CHANGED
@@ -132,7 +132,7 @@ const tableProps = {
132
132
  }
133
133
  };
134
134
  const TABLE_TOKEN = Symbol();
135
- function createBem(namespace, element, modifier) {
135
+ function createBem$1(namespace, element, modifier) {
136
136
  let cls = namespace;
137
137
  if (element) {
138
138
  cls += `__${element}`;
@@ -142,12 +142,12 @@ function createBem(namespace, element, modifier) {
142
142
  }
143
143
  return cls;
144
144
  }
145
- function useNamespace(block, needDot = false) {
145
+ function useNamespace$1(block, needDot = false) {
146
146
  const namespace = needDot ? `.devui-${block}` : `devui-${block}`;
147
- const b = () => createBem(namespace);
148
- const e = (element) => element ? createBem(namespace, element) : "";
149
- const m = (modifier) => modifier ? createBem(namespace, "", modifier) : "";
150
- const em = (element, modifier) => element && modifier ? createBem(namespace, element, modifier) : "";
147
+ const b = () => createBem$1(namespace);
148
+ const e = (element) => element ? createBem$1(namespace, element) : "";
149
+ const m = (modifier) => modifier ? createBem$1(namespace, "", modifier) : "";
150
+ const em = (element, modifier) => element && modifier ? createBem$1(namespace, element, modifier) : "";
151
151
  return {
152
152
  b,
153
153
  e,
@@ -156,7 +156,7 @@ function useNamespace(block, needDot = false) {
156
156
  };
157
157
  }
158
158
  function useTable(props, tableWidth) {
159
- const ns2 = useNamespace("table");
159
+ const ns2 = useNamespace$1("table");
160
160
  const classes = computed(() => ({
161
161
  [ns2.e("view")]: true,
162
162
  [ns2.m("striped")]: props.striped,
@@ -174,7 +174,7 @@ function useTable(props, tableWidth) {
174
174
  return { classes, styles };
175
175
  }
176
176
  const useFixedColumn = (column2) => {
177
- const ns2 = useNamespace("table");
177
+ const ns2 = useNamespace$1("table");
178
178
  const stickyClass = computed(() => ({
179
179
  [ns2.e("checkable-cell")]: column2.value.type === "checkable",
180
180
  [ns2.m("sticky-cell")]: Boolean(column2.value.fixedLeft) || Boolean(column2.value.fixedRight),
@@ -267,7 +267,7 @@ function useTableWatcher(props, store) {
267
267
  }, { deep: true });
268
268
  }
269
269
  function useHorizontalScroll(table2) {
270
- const ns2 = useNamespace("table");
270
+ const ns2 = useNamespace$1("table");
271
271
  const setScrollViewClass = (position) => {
272
272
  const element = table2.vnode.el;
273
273
  const className = ns2.m(`scroll-${position}`);
@@ -331,6 +331,29 @@ function lockScroll() {
331
331
  const isBoolean = (value) => typeof value === "boolean";
332
332
  const isString = (value) => typeof value === "string";
333
333
  const isFunction = (value) => Object.prototype.toString.call(value) === "[object Function]";
334
+ function createBem(namespace, element, modifier) {
335
+ let cls = namespace;
336
+ if (element) {
337
+ cls += `__${element}`;
338
+ }
339
+ if (modifier) {
340
+ cls += `--${modifier}`;
341
+ }
342
+ return cls;
343
+ }
344
+ function useNamespace(block, needDot = false) {
345
+ const namespace = needDot ? `.devui-${block}` : `devui-${block}`;
346
+ const b = () => createBem(namespace);
347
+ const e = (element) => element ? createBem(namespace, element) : "";
348
+ const m = (modifier) => modifier ? createBem(namespace, "", modifier) : "";
349
+ const em = (element, modifier) => element && modifier ? createBem(namespace, element, modifier) : "";
350
+ return {
351
+ b,
352
+ e,
353
+ m,
354
+ em
355
+ };
356
+ }
334
357
  function isUrl(value) {
335
358
  return /^((http|https):)?\/\//.test(value);
336
359
  }
@@ -792,7 +815,7 @@ var Sort = defineComponent({
792
815
  const changeDirection = () => {
793
816
  ctx.emit("sort", directionMap[props.sortDirection || "default"]);
794
817
  };
795
- const ns2 = useNamespace("table");
818
+ const ns2 = useNamespace$1("table");
796
819
  return () => createVNode("span", {
797
820
  "onClick": changeDirection,
798
821
  "class": ns2.e("sort-clickable")
@@ -1102,7 +1125,7 @@ defineComponent({
1102
1125
  const {
1103
1126
  modelValue
1104
1127
  } = toRefs(props);
1105
- const ns2 = useNamespace("fixed-overlay");
1128
+ const ns2 = useNamespace$1("fixed-overlay");
1106
1129
  const {
1107
1130
  onClick
1108
1131
  } = useFixedOverlay(props, ctx);
@@ -1268,7 +1291,7 @@ const FlexibleOverlay = defineComponent({
1268
1291
  emit,
1269
1292
  expose
1270
1293
  }) {
1271
- const ns2 = useNamespace("flexible-overlay");
1294
+ const ns2 = useNamespace$1("flexible-overlay");
1272
1295
  const {
1273
1296
  clickEventBubble
1274
1297
  } = toRefs(props);
@@ -1296,7 +1319,7 @@ const FlexibleOverlay = defineComponent({
1296
1319
  }
1297
1320
  });
1298
1321
  const isObject = (val) => val !== null && typeof val === "object";
1299
- const ns$3 = useNamespace("popper-trigger");
1322
+ const ns$3 = useNamespace$1("popper-trigger");
1300
1323
  function wrapContent(content) {
1301
1324
  return h("span", { class: ns$3.b() }, content);
1302
1325
  }
@@ -1378,7 +1401,7 @@ var Dropdown = defineComponent({
1378
1401
  const id = `dropdown_${dropdownId++}`;
1379
1402
  const isOpen = ref(false);
1380
1403
  const currentPosition = ref("bottom");
1381
- const ns2 = useNamespace("dropdown");
1404
+ const ns2 = useNamespace$1("dropdown");
1382
1405
  provide(POPPER_TRIGGER_TOKEN, origin);
1383
1406
  useDropdownEvent({
1384
1407
  id,
@@ -1498,7 +1521,7 @@ defineComponent({
1498
1521
  overlayClass
1499
1522
  } = toRefs(props);
1500
1523
  const dropdownMenuRef = ref(null);
1501
- const ns2 = useNamespace("dropdown");
1524
+ const ns2 = useNamespace$1("dropdown");
1502
1525
  onClickOutside(dropdownMenuRef, (value) => {
1503
1526
  var _a, _b;
1504
1527
  if (((_a = clickOutside.value) == null ? void 0 : _a.call(clickOutside)) && !((_b = origin == null ? void 0 : origin.value) == null ? void 0 : _b.contains(value.target))) {
@@ -1601,7 +1624,7 @@ var svgIcon = defineComponent({
1601
1624
  color,
1602
1625
  size
1603
1626
  } = toRefs(props);
1604
- const ns2 = useNamespace("svg-icon");
1627
+ const ns2 = useNamespace$1("svg-icon");
1605
1628
  const iconName = computed(() => `#icon-${name.value}`);
1606
1629
  const iconSize = computed(() => {
1607
1630
  return typeof size.value === "number" ? `${size.value}px` : size.value;
@@ -1630,7 +1653,7 @@ function useIconDom(props, ctx) {
1630
1653
  classPrefix,
1631
1654
  rotate
1632
1655
  } = toRefs(props);
1633
- const ns2 = useNamespace("icon");
1656
+ const ns2 = useNamespace$1("icon");
1634
1657
  const iconSize = computed(() => {
1635
1658
  return typeof size.value === "number" ? `${size.value}px` : size.value;
1636
1659
  });
@@ -1688,7 +1711,7 @@ var Icon = defineComponent({
1688
1711
  const {
1689
1712
  iconDom
1690
1713
  } = useIconDom(props, ctx);
1691
- const ns2 = useNamespace("icon");
1714
+ const ns2 = useNamespace$1("icon");
1692
1715
  const wrapClassed = computed(() => ({
1693
1716
  [ns2.e("container")]: true,
1694
1717
  [ns2.m("disabled")]: disabled.value,
@@ -1714,7 +1737,7 @@ var iconGroup = "";
1714
1737
  defineComponent({
1715
1738
  name: "DIconGroup",
1716
1739
  setup(_, ctx) {
1717
- const ns2 = useNamespace("icon-group");
1740
+ const ns2 = useNamespace$1("icon-group");
1718
1741
  return () => {
1719
1742
  var _a, _b;
1720
1743
  return createVNode("div", {
@@ -1791,7 +1814,7 @@ var Loading = defineComponent({
1791
1814
  message,
1792
1815
  $slots
1793
1816
  } = this;
1794
- const ns2 = useNamespace("loading");
1817
+ const ns2 = useNamespace$1("loading");
1795
1818
  return isShow && createVNode("div", {
1796
1819
  "class": [ns2.b(), isFull ? ns2.m("full") : ""]
1797
1820
  }, [((_a = $slots.default) == null ? void 0 : _a.call($slots)) || createVNode("div", {
@@ -7376,7 +7399,7 @@ var lodash = { exports: {} };
7376
7399
  }).call(commonjsGlobal);
7377
7400
  })(lodash, lodash.exports);
7378
7401
  function useButton(props, ctx) {
7379
- const ns2 = useNamespace("button");
7402
+ const ns2 = useNamespace$1("button");
7380
7403
  const hasContent = computed(() => ctx.slots.default);
7381
7404
  const colorMap = {
7382
7405
  solid: "primary",
@@ -7465,7 +7488,7 @@ defineComponent({
7465
7488
  setup(props, {
7466
7489
  slots
7467
7490
  }) {
7468
- const ns2 = useNamespace("button-group");
7491
+ const ns2 = useNamespace$1("button-group");
7469
7492
  provide(buttonGroupInjectionKey, {
7470
7493
  size: toRef(props, "size")
7471
7494
  });
@@ -7509,7 +7532,8 @@ const commonProps = {
7509
7532
  default: void 0
7510
7533
  },
7511
7534
  size: {
7512
- type: String
7535
+ type: String,
7536
+ default: "md"
7513
7537
  }
7514
7538
  };
7515
7539
  const checkboxProps = __spreadProps(__spreadValues({}, commonProps), {
@@ -7698,7 +7722,7 @@ defineComponent({
7698
7722
  props: formProps,
7699
7723
  emits: ["validate"],
7700
7724
  setup(props, ctx) {
7701
- const ns2 = useNamespace("form");
7725
+ const ns2 = useNamespace$1("form");
7702
7726
  const {
7703
7727
  itemContexts,
7704
7728
  addItemContext,
@@ -7918,7 +7942,7 @@ function usePopoverEvent(props, visible, origin) {
7918
7942
  });
7919
7943
  return { placement, handlePositionChange, onMouseenter, onMouseleave };
7920
7944
  }
7921
- const ns$2 = useNamespace("popover");
7945
+ const ns$2 = useNamespace$1("popover");
7922
7946
  function SuccessIcon$1() {
7923
7947
  return createVNode("svg", {
7924
7948
  "class": [ns$2.e("icon"), ns$2.em("icon", "success")],
@@ -8020,7 +8044,7 @@ var PopoverIcon = defineComponent({
8020
8044
  }
8021
8045
  },
8022
8046
  setup(props) {
8023
- const ns2 = useNamespace("popover");
8047
+ const ns2 = useNamespace$1("popover");
8024
8048
  return () => props.type && props.type !== "default" && createVNode("span", {
8025
8049
  "class": ns2.e("icon-wrap")
8026
8050
  }, [props.type === "success" && createVNode(SuccessIcon$1, null, null), props.type === "warning" && createVNode(WarningIcon, null, null), props.type === "info" && createVNode(InfoIcon, null, null), props.type === "error" && createVNode(ErrorIcon$1, null, null)]);
@@ -8057,7 +8081,7 @@ var Popover = defineComponent({
8057
8081
  const {
8058
8082
  overlayStyles
8059
8083
  } = usePopover(props, visible, placement, origin, popoverRef);
8060
- const ns2 = useNamespace("popover");
8084
+ const ns2 = useNamespace$1("popover");
8061
8085
  provide(POPPER_TRIGGER_TOKEN, origin);
8062
8086
  watch(visible, (newVal) => {
8063
8087
  if (newVal) {
@@ -8190,7 +8214,7 @@ function useFormLabel() {
8190
8214
  const formContext = inject(FORM_TOKEN);
8191
8215
  const formItemContext = inject(FORM_ITEM_TOKEN);
8192
8216
  const labelData = inject(LABEL_DATA);
8193
- const ns2 = useNamespace("form");
8217
+ const ns2 = useNamespace$1("form");
8194
8218
  const labelClasses = computed(() => ({
8195
8219
  [`${ns2.e("label")}`]: true,
8196
8220
  [`${ns2.em("label", "vertical")}`]: labelData.value.layout === "vertical",
@@ -8209,7 +8233,7 @@ var FormLabel = defineComponent({
8209
8233
  name: "DFormLabel",
8210
8234
  props: formLabelProps,
8211
8235
  setup(props, ctx) {
8212
- const ns2 = useNamespace("form");
8236
+ const ns2 = useNamespace$1("form");
8213
8237
  const {
8214
8238
  labelClasses,
8215
8239
  labelInnerClasses
@@ -8244,7 +8268,7 @@ const formControlProps = {
8244
8268
  };
8245
8269
  function useFormControl(props) {
8246
8270
  const labelData = inject(LABEL_DATA);
8247
- const ns2 = useNamespace("form");
8271
+ const ns2 = useNamespace$1("form");
8248
8272
  const { feedbackStatus } = toRefs(props);
8249
8273
  const controlClasses = computed(() => ({
8250
8274
  [ns2.e("control")]: true,
@@ -8274,7 +8298,7 @@ var FormControl = defineComponent({
8274
8298
  props: formControlProps,
8275
8299
  setup(props, ctx) {
8276
8300
  const formControl2 = ref();
8277
- const ns2 = useNamespace("form");
8301
+ const ns2 = useNamespace$1("form");
8278
8302
  const {
8279
8303
  controlClasses,
8280
8304
  controlContainerClasses
@@ -9328,7 +9352,7 @@ function getFieldValue(obj, path) {
9328
9352
  }
9329
9353
  function useFormItem(messageType, _rules, validateState) {
9330
9354
  const formContext = inject(FORM_TOKEN);
9331
- const ns2 = useNamespace("form");
9355
+ const ns2 = useNamespace$1("form");
9332
9356
  const itemClasses = computed(() => ({
9333
9357
  [`${ns2.em("item", "horizontal")}`]: formContext.layout === "horizontal",
9334
9358
  [`${ns2.em("item", "vertical")}`]: formContext.layout === "vertical",
@@ -9586,8 +9610,8 @@ function useCheckbox(props, ctx) {
9586
9610
  var _a;
9587
9611
  return (_a = checkboxGroupConf == null ? void 0 : checkboxGroupConf.color.value) != null ? _a : props.color;
9588
9612
  });
9589
- const itemWidth = checkboxGroupConf == null ? void 0 : checkboxGroupConf.itemWidth.value;
9590
- const direction = checkboxGroupConf == null ? void 0 : checkboxGroupConf.direction.value;
9613
+ const itemWidth = checkboxGroupConf == null ? void 0 : checkboxGroupConf.itemWidth;
9614
+ const direction = checkboxGroupConf == null ? void 0 : checkboxGroupConf.direction;
9591
9615
  const canChange = (checked, val) => {
9592
9616
  var _a;
9593
9617
  if (mergedDisabled.value) {
@@ -9604,15 +9628,14 @@ function useCheckbox(props, ctx) {
9604
9628
  return Promise.resolve(true);
9605
9629
  };
9606
9630
  const toggle = () => {
9607
- const current = !isChecked.value;
9631
+ const current = !mergedChecked.value;
9608
9632
  checkboxGroupConf == null ? void 0 : checkboxGroupConf.toggleGroupVal(props.value);
9609
9633
  ctx.emit("update:checked", current);
9610
9634
  ctx.emit("update:modelValue", current);
9611
9635
  ctx.emit("change", current);
9612
9636
  };
9613
- const handleClick = ($event) => {
9614
- $event.stopPropagation();
9615
- canChange(!isChecked.value, props.label).then((res) => res && toggle());
9637
+ const handleClick = () => {
9638
+ canChange(!mergedChecked.value, props.label).then((res) => res && toggle());
9616
9639
  };
9617
9640
  const size = computed(() => props.size || (checkboxGroupConf == null ? void 0 : checkboxGroupConf.size.value) || (formContext == null ? void 0 : formContext.size) || "md");
9618
9641
  const border = computed(() => {
@@ -9620,7 +9643,8 @@ function useCheckbox(props, ctx) {
9620
9643
  return (_a = checkboxGroupConf == null ? void 0 : checkboxGroupConf.border.value) != null ? _a : props.border;
9621
9644
  });
9622
9645
  watch(() => props.modelValue, () => {
9623
- formItemContext == null ? void 0 : formItemContext.validate("change").catch((err) => console.warn(err));
9646
+ formItemContext == null ? void 0 : formItemContext.validate("change").catch(() => {
9647
+ });
9624
9648
  });
9625
9649
  return {
9626
9650
  mergedChecked,
@@ -9678,7 +9702,8 @@ function useCheckboxGroup(props, ctx) {
9678
9702
  }
9679
9703
  };
9680
9704
  watch(() => props.modelValue, () => {
9681
- formItemContext == null ? void 0 : formItemContext.validate("change").catch((err) => console.warn(err));
9705
+ formItemContext == null ? void 0 : formItemContext.validate("change").catch(() => {
9706
+ });
9682
9707
  }, { deep: true });
9683
9708
  const checkboxGroupSize = computed(() => props.size || (formContext == null ? void 0 : formContext.size) || "");
9684
9709
  provide(checkboxGroupInjectionKey, {
@@ -9730,11 +9755,11 @@ var Checkbox = defineComponent({
9730
9755
  } = useCheckbox(props, ctx);
9731
9756
  return () => {
9732
9757
  var _a, _b;
9733
- const wrapperCls = {
9734
- [ns2.e("column-margin")]: direction === "column",
9735
- [ns2.e("wrap")]: typeof itemWidth !== "undefined"
9736
- };
9737
- const wrapperStyle = itemWidth ? [`width: ${itemWidth}px`] : [];
9758
+ const wrapperCls = computed(() => ({
9759
+ [ns2.e("column-margin")]: (direction == null ? void 0 : direction.value) === "column",
9760
+ [ns2.e("wrap")]: typeof (itemWidth == null ? void 0 : itemWidth.value) !== "undefined"
9761
+ }));
9762
+ const wrapperStyle = computed(() => (itemWidth == null ? void 0 : itemWidth.value) ? [`width: ${itemWidth.value}px`] : []);
9738
9763
  const checkboxCls = {
9739
9764
  [ns2.b()]: true,
9740
9765
  active: mergedChecked.value,
@@ -9765,8 +9790,8 @@ var Checkbox = defineComponent({
9765
9790
  indeterminate: props.halfChecked
9766
9791
  };
9767
9792
  return createVNode("div", {
9768
- "class": wrapperCls,
9769
- "style": wrapperStyle
9793
+ "class": wrapperCls.value,
9794
+ "style": wrapperStyle.value
9770
9795
  }, [createVNode("div", {
9771
9796
  "class": checkboxCls
9772
9797
  }, [createVNode("label", {
@@ -9774,7 +9799,7 @@ var Checkbox = defineComponent({
9774
9799
  "onClick": handleClick,
9775
9800
  "class": labelCls,
9776
9801
  "style": {
9777
- width: itemWidth ? "100%" : "auto"
9802
+ width: (itemWidth == null ? void 0 : itemWidth.value) ? "100%" : "auto"
9778
9803
  }
9779
9804
  }, [createVNode("input", mergeProps({
9780
9805
  "name": props.name || props.value,
@@ -10211,7 +10236,7 @@ var List = defineComponent({
10211
10236
  setup(props, {
10212
10237
  slots
10213
10238
  }) {
10214
- const ns2 = useNamespace("list");
10239
+ const ns2 = useNamespace$1("list");
10215
10240
  return () => {
10216
10241
  var _a;
10217
10242
  return createVNode("div", {
@@ -10226,7 +10251,7 @@ var ListItem = defineComponent({
10226
10251
  setup(props, {
10227
10252
  slots
10228
10253
  }) {
10229
- const ns2 = useNamespace("list-item");
10254
+ const ns2 = useNamespace$1("list-item");
10230
10255
  return () => {
10231
10256
  var _a;
10232
10257
  return createVNode("div", {
@@ -10592,7 +10617,7 @@ var body = "";
10592
10617
  var TableHeader = defineComponent({
10593
10618
  name: "DTableHeader",
10594
10619
  setup() {
10595
- const ns2 = useNamespace("table");
10620
+ const ns2 = useNamespace$1("table");
10596
10621
  const {
10597
10622
  headerRows
10598
10623
  } = useHeader();
@@ -10757,7 +10782,7 @@ var Tooltip = defineComponent({
10757
10782
  onMouseleave,
10758
10783
  onMouseenterOverlay
10759
10784
  } = useTooltip(origin, props);
10760
- const ns2 = useNamespace("tooltip");
10785
+ const ns2 = useNamespace$1("tooltip");
10761
10786
  const className = computed(() => {
10762
10787
  return [ns2.b(), ns2.m(placement.value)].join(" ");
10763
10788
  });
@@ -10897,7 +10922,7 @@ var TD = defineComponent({
10897
10922
  };
10898
10923
  }
10899
10924
  });
10900
- const ns$1 = useNamespace("table");
10925
+ const ns$1 = useNamespace$1("table");
10901
10926
  function useMergeCell() {
10902
10927
  const table2 = inject(TABLE_TOKEN);
10903
10928
  const { _data: data, _columns: columns } = table2.store.states;
@@ -11004,7 +11029,7 @@ var TableBody = defineComponent({
11004
11029
  flatColumns,
11005
11030
  flatRows
11006
11031
  } = table2.store.states;
11007
- const ns2 = useNamespace("table");
11032
+ const ns2 = useNamespace$1("table");
11008
11033
  const {
11009
11034
  tableSpans,
11010
11035
  removeCells
@@ -11078,7 +11103,7 @@ var FixHeader = defineComponent({
11078
11103
  }
11079
11104
  },
11080
11105
  setup(props) {
11081
- const ns2 = useNamespace("table");
11106
+ const ns2 = useNamespace$1("table");
11082
11107
  const table2 = inject(TABLE_TOKEN, void 0);
11083
11108
  const showHeader = computed(() => Boolean(table2 == null ? void 0 : table2.props.showHeader));
11084
11109
  const {
@@ -11157,7 +11182,7 @@ var Table = defineComponent({
11157
11182
  } = useHorizontalScroll(table2);
11158
11183
  useTableWatcher(props, store);
11159
11184
  const isEmpty2 = computed(() => props.data.length === 0);
11160
- const ns2 = useNamespace("table");
11185
+ const ns2 = useNamespace$1("table");
11161
11186
  const hiddenColumns = ref(null);
11162
11187
  table2.hiddenColumns = hiddenColumns;
11163
11188
  table2.tableRef = tableRef;
@@ -11330,7 +11355,7 @@ const IconClose = () => createVNode("svg", {
11330
11355
  "fill": "#252b3a",
11331
11356
  "d": "M8.75,4 L8.75,7.25 L12,7.25 L12,8.75 L8.749,8.75 L8.75,12 L7.25,12 L7.249,8.75 L4,8.75 L4,7.25 L7.25,7.25 L7.25,4 L8.75,4 Z"
11332
11357
  }, null)])]);
11333
- const ns = useNamespace("table");
11358
+ const ns = useNamespace$1("table");
11334
11359
  const cellMap = {
11335
11360
  checkable: {
11336
11361
  renderHeader(column2, store) {