pro-design-vue 0.0.1-beta.1 → 0.0.1-beta.3

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 (34) hide show
  1. package/README.md +62 -1
  2. package/dist/index.full.js +8 -19
  3. package/dist/index.full.min.js +6 -6
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +6 -6
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +8 -19
  8. package/es/components/drawer/src/drawer.vue2.mjs +0 -1
  9. package/es/components/drawer/src/drawer.vue2.mjs.map +1 -1
  10. package/es/components/form/src/layouts/QueryFilter.mjs.map +1 -1
  11. package/es/components/page/src/page.vue2.mjs +6 -12
  12. package/es/components/page/src/page.vue2.mjs.map +1 -1
  13. package/es/components/table/src/components/Body/Body.vue.mjs.map +1 -1
  14. package/es/components/table/src/components/Body/Body.vue2.mjs +0 -1
  15. package/es/components/table/src/components/Body/Body.vue2.mjs.map +1 -1
  16. package/es/components/table/src/hooks/useCal.mjs +0 -3
  17. package/es/components/table/src/hooks/useCal.mjs.map +1 -1
  18. package/es/version.d.ts +1 -1
  19. package/es/version.mjs +1 -1
  20. package/es/version.mjs.map +1 -1
  21. package/lib/components/drawer/src/drawer.vue2.js +0 -1
  22. package/lib/components/drawer/src/drawer.vue2.js.map +1 -1
  23. package/lib/components/form/src/layouts/QueryFilter.js.map +1 -1
  24. package/lib/components/page/src/page.vue2.js +6 -12
  25. package/lib/components/page/src/page.vue2.js.map +1 -1
  26. package/lib/components/table/src/components/Body/Body.vue.js.map +1 -1
  27. package/lib/components/table/src/components/Body/Body.vue2.js +0 -1
  28. package/lib/components/table/src/components/Body/Body.vue2.js.map +1 -1
  29. package/lib/components/table/src/hooks/useCal.js +0 -3
  30. package/lib/components/table/src/hooks/useCal.js.map +1 -1
  31. package/lib/version.d.ts +1 -1
  32. package/lib/version.js +1 -1
  33. package/lib/version.js.map +1 -1
  34. package/package.json +2 -1
package/README.md CHANGED
@@ -1 +1,62 @@
1
- # Pro Design Vue
1
+ <h1 align="center">
2
+ <a href="https://www.antdv.com/" target="_blank">Pro Design Vue</a>
3
+ </h1>
4
+
5
+ <div align="center">
6
+
7
+ An enterprise-class UI components based on Ant Design Vue and Vue3.
8
+
9
+ [![npm package](https://img.shields.io/npm/v/pro-design-vue.svg?style=flat-square)](https://www.npmjs.org/package/pro-design-vue) [![NPM downloads](http://img.shields.io/npm/dm/pro-design-vue.svg?style=flat-square)](http://www.npmtrends.com/pro-design-vue)
10
+
11
+ </div>
12
+
13
+ English | [简体中文](./README-zh_CN.md)
14
+
15
+ ## Features
16
+
17
+ - An enterprise-class UI design system for desktop applications.
18
+ - A set of high-quality Vue components out of the box.
19
+
20
+ ## Environment Support
21
+
22
+ - Modern browsers
23
+ - Support Vue 3
24
+
25
+ | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/safari/safari_48x48.png" alt="Safari" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Safari | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)</br>Opera |
26
+ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
27
+ | Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
28
+
29
+ ## Using npm or yarn or pnpm
30
+
31
+ **We recommend using npm or yarn or pnpm to install**, it not only makes development easier, but also allow you to take advantage of the rich ecosystem of Javascript packages and tooling.
32
+
33
+ ```bash
34
+ $ npm install pro-design-vue --save
35
+ ```
36
+
37
+ ```bash
38
+ $ yarn add pro-design-vue
39
+ ```
40
+
41
+ ```bash
42
+ $ pnpm add pro-design-vue
43
+ ```
44
+
45
+ ## Links
46
+
47
+ - [Home page](https://pro-design.shene.org.cn/)
48
+ - [Vue](https://vuejs.org/)
49
+ - [Ant Design Vue](https://www.antdv.com/)
50
+
51
+ ## Contributors
52
+
53
+ Thank you to all the people who already contributed to pro-design-vue!
54
+
55
+ <a href="https://github.com/pro-design-vue/pro-design/graphs/contributors">
56
+ <img src="https://contrib.rocks/image?repo=pro-design-vue/pro-design&max=100&columns=15" />
57
+ </a>
58
+
59
+ ## License
60
+
61
+ Pro Design Vue is open source software licensed as
62
+ [MIT](https://github.com/pro-design-vue/pro-design/blob/master/LICENSE).
@@ -1,4 +1,4 @@
1
- /*! Pro Design Vue v0.0.1-beta.1 */
1
+ /*! Pro Design Vue v0.0.1-beta.3 */
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/form')) :
@@ -16,7 +16,7 @@
16
16
  const SCROLL_FIXED_CLASS = `_scroll__fixed_`;
17
17
  const DEFAULT_NAMESPACE = "pro";
18
18
 
19
- const version$1 = "0.0.1-beta.1";
19
+ const version$1 = "0.0.1-beta.3";
20
20
 
21
21
  const makeInstaller = (components = []) => {
22
22
  const install = (app) => {
@@ -11771,7 +11771,6 @@
11771
11771
  const props = __props;
11772
11772
  const emit = __emit;
11773
11773
  const prefixCls = usePrefixCls("drawer");
11774
- console.log("\u{1F680} ~ prefixCls:", prefixCls);
11775
11774
  const { isMobile } = useIsMobile();
11776
11775
  const fullscreen = vue.ref(props.defaultFullscreen);
11777
11776
  const hasFullscreen = vue.computed(() => isMobile.value || fullscreen.value);
@@ -23959,20 +23958,17 @@
23959
23958
  const mrhs = mergedRowHeights.value;
23960
23959
  const data = flattenData.value;
23961
23960
  const len = data.length;
23962
- console.log("\u{1F680} ~ watch ~ data:", data);
23963
23961
  const newMergedRowHeights = {};
23964
23962
  let newViewportHeight = 0;
23965
23963
  const newRowPosition = [];
23966
23964
  for (let i = 0; i < len; i++) {
23967
23965
  const { rowKey } = data[i];
23968
23966
  const rowHeight = rhs[rowKey] !== void 0 ? rhs[rowKey] : crhs[rowKey] === void 0 ? mrhs[rowKey] : crhs[rowKey];
23969
- console.log("\u{1F680} ~ watch ~ rowHeight:", rowHeight);
23970
23967
  newMergedRowHeights[rowKey] = rowHeight;
23971
23968
  newRowPosition.push(newViewportHeight);
23972
23969
  newViewportHeight += rowHeight === void 0 ? defaultHeight : rowHeight;
23973
23970
  }
23974
23971
  mergedRowHeights.value = newMergedRowHeights;
23975
- console.log("\u{1F680} ~ watch ~ newViewportHeight:", newViewportHeight);
23976
23972
  viewportHeight.value = newViewportHeight;
23977
23973
  rowPosition.value = newRowPosition;
23978
23974
  },
@@ -30427,7 +30423,6 @@
30427
30423
  const viewportHeight = vue.computed(
30428
30424
  () => tableContext.viewportHeight.value + (props.summaryFixed ? emptyHeight.value : summaryHeight.value + emptyHeight.value)
30429
30425
  );
30430
- console.log(viewportHeight.value);
30431
30426
  const containerStyle = vue.computed(() => ({
30432
30427
  width: `${tableContext.centerWidth.value}px`,
30433
30428
  height: `${viewportHeight.value}px`
@@ -34267,10 +34262,9 @@
34267
34262
  const shouldAutoHeight = vue.ref(false);
34268
34263
  const { contentOffsetTop } = useProConfigInject();
34269
34264
  const tabActiveKey = vue.useModel(__props, "activeKey");
34270
- const pageRef = vue.useTemplateRef("pageRef");
34271
- const headerRef = vue.useTemplateRef("headerRef");
34272
- const footerRef = vue.useTemplateRef("footerRef");
34273
- const tabsRef = vue.useTemplateRef("tabsRef");
34265
+ const headerRef = vue.useTemplateRef("header");
34266
+ const footerRef = vue.useTemplateRef("footer");
34267
+ const tabsRef = vue.useTemplateRef("tabs");
34274
34268
  const headerCls = vue.computed(() => ({
34275
34269
  [`${prefixCls}-header`]: true,
34276
34270
  [__props.headerClass]: true
@@ -34342,8 +34336,6 @@
34342
34336
  return vue.openBlock(), vue.createElementBlock(
34343
34337
  "div",
34344
34338
  {
34345
- ref_key: "pageRef",
34346
- ref: pageRef,
34347
34339
  class: vue.normalizeClass([vue.unref(prefixCls), ((_a = _ctx.tabList) == null ? void 0 : _a.length) ? `is-tabs` : ""])
34348
34340
  },
34349
34341
  [
@@ -34351,8 +34343,7 @@
34351
34343
  "div",
34352
34344
  {
34353
34345
  key: 0,
34354
- ref_key: "headerRef",
34355
- ref: headerRef,
34346
+ ref: "header",
34356
34347
  class: vue.normalizeClass(headerCls.value)
34357
34348
  },
34358
34349
  [
@@ -34403,8 +34394,7 @@
34403
34394
  "div",
34404
34395
  {
34405
34396
  key: 1,
34406
- ref_key: "tabsRef",
34407
- ref: tabsRef,
34397
+ ref: "tabs",
34408
34398
  class: vue.normalizeClass(`${vue.unref(prefixCls)}-tabs`)
34409
34399
  },
34410
34400
  [
@@ -34465,8 +34455,7 @@
34465
34455
  "div",
34466
34456
  {
34467
34457
  key: 2,
34468
- ref_key: "footerRef",
34469
- ref: footerRef,
34458
+ ref: "footer",
34470
34459
  class: vue.normalizeClass(footerCls.value)
34471
34460
  },
34472
34461
  [