pro-design-vue 1.2.3 → 1.2.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.
@@ -1,4 +1,4 @@
1
- /*! Pro Design Vue v1.2.3 */
1
+ /*! Pro Design Vue v1.2.4 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ant-design-vue'), require('vue'), require('ant-design-vue/es/locale/zh_CN.js')) :
@@ -32,7 +32,7 @@
32
32
  const DEFAULT_NAMESPACE = "pro";
33
33
  const DEFAULT_LOCALE = "zh-CN";
34
34
 
35
- const version$1 = "1.2.3";
35
+ const version$1 = "1.2.4";
36
36
 
37
37
  const makeInstaller = (components = []) => {
38
38
  const install = (app) => {
@@ -8384,6 +8384,7 @@
8384
8384
  form: vue.computed(() => props.form),
8385
8385
  modal: vue.computed(() => props.modal),
8386
8386
  drawer: vue.computed(() => props.drawer),
8387
+ prefixCls: vue.computed(() => props.prefixCls),
8387
8388
  componentSize: vue.computed(() => props.componentSize),
8388
8389
  proPrefixCls: vue.computed(() => props.proPrefixCls),
8389
8390
  intl: vue.computed(() => props.intl),
@@ -8422,7 +8423,7 @@
8422
8423
  iconPrefixCls: { type: String, required: false },
8423
8424
  getTargetContainer: { type: Function, required: false },
8424
8425
  getPopupContainer: { type: Function, required: false },
8425
- prefixCls: { type: String, required: false },
8426
+ prefixCls: { type: String, required: false, default: "ant" },
8426
8427
  getPrefixCls: { type: Function, required: false },
8427
8428
  renderEmpty: { type: null, required: false },
8428
8429
  transformCellText: { type: Function, required: false },
@@ -8443,7 +8444,7 @@
8443
8444
  wave: { type: Object, required: false }
8444
8445
  },
8445
8446
  setup(__props) {
8446
- const rest = vue.createPropsRestProxy(__props, ["intl", "proPrefixCls", "dark", "compact", "token", "locale", "theme", "table", "drawer", "modal", "form", "app", "componentSize"]);
8447
+ const rest = vue.createPropsRestProxy(__props, ["intl", "proPrefixCls", "dark", "compact", "token", "locale", "theme", "table", "drawer", "modal", "form", "app", "prefixCls", "componentSize"]);
8447
8448
  if (__props.locale.locale === DEFAULT_LOCALE.toLocaleLowerCase()) {
8448
8449
  Promise.resolve().then(function () { return zhCn$1; }).then((value) => {
8449
8450
  dayjs.locale(value);
@@ -8484,12 +8485,13 @@
8484
8485
  }
8485
8486
  );
8486
8487
  antDesignVue.ConfigProvider.config({
8487
- prefixCls: rest.prefixCls
8488
+ prefixCls: __props.prefixCls
8488
8489
  });
8489
8490
  return (_ctx, _cache) => {
8490
8491
  var _a;
8491
8492
  return vue.openBlock(), vue.createBlock(vue.unref(antDesignVue.ConfigProvider), vue.mergeProps(rest, {
8492
8493
  locale: _ctx.locale,
8494
+ prefixCls: _ctx.prefixCls,
8493
8495
  theme: mergerTheme.value,
8494
8496
  componentSize: _ctx.componentSize,
8495
8497
  form: vue.unref(omit)((_a = _ctx.form) != null ? _a : {}, ["resetOnSubmit", "labelWidth", "resetText", "searchText", "labelWidth"])
@@ -8510,6 +8512,7 @@
8510
8512
  locale: _ctx.locale,
8511
8513
  drawer: _ctx.drawer,
8512
8514
  modal: _ctx.modal,
8515
+ prefixCls: _ctx.prefixCls,
8513
8516
  componentSize: _ctx.componentSize
8514
8517
  }, {
8515
8518
  default: vue.withCtx(() => [
@@ -8517,7 +8520,7 @@
8517
8520
  ]),
8518
8521
  _: 3
8519
8522
  /* FORWARDED */
8520
- }, 8, ["contentOffsetTop", "intl", "dark", "proPrefixCls", "table", "form", "locale", "drawer", "modal", "componentSize"])
8523
+ }, 8, ["contentOffsetTop", "intl", "dark", "proPrefixCls", "table", "form", "locale", "drawer", "modal", "prefixCls", "componentSize"])
8521
8524
  ]),
8522
8525
  _: 3
8523
8526
  /* FORWARDED */
@@ -8528,7 +8531,7 @@
8528
8531
  ]),
8529
8532
  _: 3
8530
8533
  /* FORWARDED */
8531
- }, 16, ["locale", "theme", "componentSize", "form"]);
8534
+ }, 16, ["locale", "prefixCls", "theme", "componentSize", "form"]);
8532
8535
  };
8533
8536
  }
8534
8537
  });
@@ -35223,7 +35226,8 @@
35223
35226
  var _a;
35224
35227
  const tableRef = vue.ref();
35225
35228
  const {
35226
- table
35229
+ table,
35230
+ prefixCls: antPrefixCls
35227
35231
  } = useProConfigInject();
35228
35232
  const prefixCls = usePrefixCls("table");
35229
35233
  const {
@@ -35527,7 +35531,6 @@
35527
35531
  ...actions,
35528
35532
  fullScreen: () => {
35529
35533
  var _a3;
35530
- console.log(document.fullscreenElement);
35531
35534
  if (!counter.rootDomRef.value || !document.fullscreenEnabled) {
35532
35535
  return;
35533
35536
  }
@@ -35538,7 +35541,6 @@
35538
35541
  (_a3 = counter.rootDomRef.value) == null ? void 0 : _a3.requestFullscreen();
35539
35542
  counter.hasFullScreen.value = true;
35540
35543
  }
35541
- console.log(counter.hasFullScreen.value);
35542
35544
  }
35543
35545
  },
35544
35546
  "tableColumn": tableColumn.value,
@@ -35594,6 +35596,7 @@
35594
35596
  });
35595
35597
  }
35596
35598
  return vue.createVNode(antDesignVue.ConfigProvider, {
35599
+ "prefixCls": antPrefixCls == null ? void 0 : antPrefixCls.value,
35597
35600
  "getPopupContainer": () => {
35598
35601
  return counter.rootDomRef.value || document.body;
35599
35602
  }