@fangzhongya/fang-ui 0.1.19 → 0.1.20

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 (106) hide show
  1. package/dist/components/forms/src/data.cjs +3 -3
  2. package/dist/components/forms/src/data.d.ts +1 -1
  3. package/dist/components/forms/src/data.js +3 -3
  4. package/dist/components/forms/src/index2.cjs +5 -3
  5. package/dist/components/forms/src/index2.js +5 -3
  6. package/dist/components/forms/src/setup.cjs +0 -7
  7. package/dist/components/forms/src/setup.js +0 -7
  8. package/dist/components/forms-div/src/data.cjs +1 -1
  9. package/dist/components/forms-div/src/data.js +1 -1
  10. package/dist/components/forms-div/src/index2.cjs +7 -1
  11. package/dist/components/forms-div/src/index2.js +7 -1
  12. package/dist/components/forms-item/src/data.cjs +1 -1
  13. package/dist/components/forms-item/src/data.js +1 -1
  14. package/dist/components/forms-item/src/index2.cjs +4 -2
  15. package/dist/components/forms-item/src/index2.js +4 -2
  16. package/dist/components/forms-items/src/data.cjs +1 -1
  17. package/dist/components/forms-items/src/data.js +1 -1
  18. package/dist/components/forms-items/src/index2.cjs +4 -2
  19. package/dist/components/forms-items/src/index2.js +4 -2
  20. package/dist/components/global-config/src/data.cjs +12 -0
  21. package/dist/components/global-config/src/data.d.ts +12 -0
  22. package/dist/components/global-config/src/data.js +12 -0
  23. package/dist/components/index.cjs +8 -6
  24. package/dist/{index.css → components/index.css} +39 -22
  25. package/dist/components/index.d.ts +1 -0
  26. package/dist/components/index.js +2 -0
  27. package/dist/components/index.scss +2 -2
  28. package/dist/components/index2.scss +2 -2
  29. package/dist/components/list/index.css +12 -0
  30. package/dist/components/list/index.scss +15 -0
  31. package/dist/components/list/src/data.cjs +21 -2
  32. package/dist/components/list/src/data.d.ts +22 -1
  33. package/dist/components/list/src/data.js +21 -2
  34. package/dist/components/list/src/index2.cjs +61 -10
  35. package/dist/components/list/src/index2.js +61 -10
  36. package/dist/components/list/style/index2.scss +1 -0
  37. package/dist/components/page/index.css +11 -0
  38. package/dist/components/tables/common/pagin.cjs +60 -16
  39. package/dist/components/tables/common/pagin.d.ts +8 -0
  40. package/dist/components/tables/common/pagin.js +60 -16
  41. package/dist/components/tables/common/tooltip.cjs +101 -0
  42. package/dist/components/tables/common/tooltip.d.ts +6 -0
  43. package/dist/components/tables/common/tooltip.js +101 -0
  44. package/dist/components/tables/common/util.cjs +3 -3
  45. package/dist/components/tables/common/util.js +3 -3
  46. package/dist/components/tables/src/column.cjs +19 -15
  47. package/dist/components/tables/src/column.d.ts +3 -2
  48. package/dist/components/tables/src/column.js +17 -13
  49. package/dist/components/tables/src/columns3.cjs +16 -32
  50. package/dist/components/tables/src/columns3.js +15 -31
  51. package/dist/components/tables/src/data.cjs +3 -2
  52. package/dist/components/tables/src/data.d.ts +1 -0
  53. package/dist/components/tables/src/data.js +3 -2
  54. package/dist/components/tablespd/index.cjs +9 -0
  55. package/dist/components/tablespd/index.css +88 -0
  56. package/dist/components/tablespd/index.d.ts +4 -0
  57. package/dist/components/tablespd/index.js +9 -0
  58. package/dist/components/tablespd/index.scss +40 -0
  59. package/dist/components/tablespd/src/data.cjs +13 -0
  60. package/dist/components/tablespd/src/data.d.ts +18 -0
  61. package/dist/components/tablespd/src/data.js +13 -0
  62. package/dist/components/tablespd/src/index.cjs +4 -0
  63. package/dist/components/tablespd/src/index.js +4 -0
  64. package/dist/components/tablespd/src/index2.cjs +111 -0
  65. package/dist/components/tablespd/src/index2.js +111 -0
  66. package/dist/components/tablespd/style/index2.scss +4 -0
  67. package/dist/components/tablesv/src/column.cjs +4 -4
  68. package/dist/components/tablesv/src/column.js +3 -3
  69. package/dist/css/index.css +39 -22
  70. package/dist/css/list.css +12 -0
  71. package/dist/css/page.css +11 -0
  72. package/dist/css/tablespd.css +88 -0
  73. package/dist/directives/index.cjs +6 -4
  74. package/dist/directives/index.d.ts +1 -0
  75. package/dist/directives/index.js +4 -2
  76. package/dist/directives/sortable/index.cjs +45 -0
  77. package/dist/directives/sortable/index.d.ts +6 -0
  78. package/dist/directives/sortable/index.js +45 -0
  79. package/dist/expand/{chunk-XY53LCPN.js → chunk-2BLP2ANQ.js} +3 -0
  80. package/dist/expand/{chunk-IEODUGVJ.cjs → chunk-OT6GISSR.cjs} +3 -0
  81. package/dist/expand/components.cjs +5 -5
  82. package/dist/expand/components.js +1 -1
  83. package/dist/expand/config.cjs +2 -2
  84. package/dist/expand/config.js +1 -1
  85. package/dist/hooks/cssname/index.d.ts +2 -2
  86. package/dist/hooks/index.cjs +0 -1
  87. package/dist/hooks/index.js +1 -2
  88. package/dist/hooks/inherit/index.cjs +0 -8
  89. package/dist/hooks/inherit/index.d.ts +0 -1
  90. package/dist/hooks/inherit/index.js +0 -8
  91. package/dist/icons/index.json +1 -1
  92. package/dist/index.cjs +30 -26
  93. package/dist/index.js +6 -2
  94. package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.cjs +2758 -0
  95. package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.js +2758 -0
  96. package/dist/utils/vues/getAttrValue.cjs +11 -0
  97. package/dist/utils/vues/getAttrValue.d.ts +3 -0
  98. package/dist/utils/vues/getAttrValue.js +11 -0
  99. package/dist/utils/vues/index.cjs +2 -0
  100. package/dist/utils/vues/index.d.ts +1 -0
  101. package/dist/utils/vues/index.js +2 -0
  102. package/package.json +7 -5
  103. /package/dist/components/{forms-item → forms-items}/index.css +0 -0
  104. /package/dist/components/{date-picker → global-config}/index.css +0 -0
  105. /package/dist/css/{forms-item.css → forms-items.css} +0 -0
  106. /package/dist/css/{date-picker.css → global-config.css} +0 -0
package/dist/css/list.css CHANGED
@@ -1,3 +1,4 @@
1
+ @charset "UTF-8";
1
2
  :root {
2
3
  --on: rgb(91, 189, 246);
3
4
  --color-primary: #409eff;
@@ -85,6 +86,17 @@
85
86
  .list-div .list-table .list-table-th {
86
87
  text-align: left;
87
88
  }
89
+ .list-div .list-table .list-table-value {
90
+ word-break: break-all;
91
+ white-space: normal;
92
+ display: block;
93
+ max-height: var(--list-row-max-height);
94
+ display: -webkit-box;
95
+ -webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
96
+ -webkit-box-orient: vertical;
97
+ overflow: hidden;
98
+ text-overflow: ellipsis;
99
+ }
88
100
  .list-div .list-table.right .list-table-th {
89
101
  text-align: right;
90
102
  }
package/dist/css/page.css CHANGED
@@ -697,6 +697,17 @@
697
697
  .list-div .list-table .list-table-th {
698
698
  text-align: left;
699
699
  }
700
+ .list-div .list-table .list-table-value {
701
+ word-break: break-all;
702
+ white-space: normal;
703
+ display: block;
704
+ max-height: var(--list-row-max-height);
705
+ display: -webkit-box;
706
+ -webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
707
+ -webkit-box-orient: vertical;
708
+ overflow: hidden;
709
+ text-overflow: ellipsis;
710
+ }
700
711
  .list-div .list-table.right .list-table-th {
701
712
  text-align: right;
702
713
  }
@@ -0,0 +1,88 @@
1
+ :root {
2
+ --on: rgb(91, 189, 246);
3
+ --color-primary: #409eff;
4
+ --bag-primary: #409eff;
5
+ --bag-primary-text: #fff;
6
+ --border: #eee;
7
+ --layout-panel-gap: 10px;
8
+ --layout-panel-padding: 20px;
9
+ --layout-form-item-padding-right: var(
10
+ --layout-panel-gap
11
+ );
12
+ --g-main-bg: var(--bg-color-page);
13
+ }
14
+
15
+ .tables {
16
+ width: 100%;
17
+ min-height: var(--tables-min-height, 70px);
18
+ position: relative;
19
+ flex: 1;
20
+ display: flex;
21
+ flex-direction: column;
22
+ }
23
+ .tables-table.is-absolute {
24
+ position: absolute;
25
+ inset: 0;
26
+ }
27
+ .tables-table {
28
+ background-color: transparent;
29
+ --el-table-header-bg-color: rgb(248, 248, 249);
30
+ }
31
+ .tables-table.el-table--default .el-table__cell {
32
+ padding: var(--tables-interval) 0;
33
+ }
34
+ .tables-table.el-table--default .cell {
35
+ padding: 0 var(--tables-interval-horizon, var(--tables-interval));
36
+ }
37
+
38
+ .paging {
39
+ width: 100%;
40
+ padding: 10px;
41
+ }
42
+ .paging-pagination {
43
+ width: 100%;
44
+ }
45
+ .paging-slot {
46
+ padding-left: 10px;
47
+ font-size: 14px;
48
+ font-weight: 400;
49
+ color: #9b9b9b;
50
+ white-space: pre-wrap;
51
+ }
52
+ .paging-slot > span {
53
+ margin-right: 10px;
54
+ white-space: nowrap;
55
+ }
56
+ .paging .el-pagination__total {
57
+ font-size: 14px;
58
+ font-weight: 400;
59
+ color: #9b9b9b;
60
+ }
61
+
62
+ .tablespd {
63
+ width: 100%;
64
+ flex: 1;
65
+ display: flex;
66
+ flex-direction: column;
67
+ }
68
+ .tablespd-main {
69
+ display: flex;
70
+ flex-direction: column;
71
+ flex: 1;
72
+ width: 100%;
73
+ }
74
+ .tablespd-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
75
+ display: none;
76
+ }
77
+ .tablespd-main.is-scroll .v-scroll-add {
78
+ text-align: center;
79
+ padding: 10px;
80
+ color: #999;
81
+ background-color: #eee;
82
+ }
83
+ .tablespd-paginat {
84
+ overflow: hidden;
85
+ }
86
+ .tablespd-paginat .el-pagination {
87
+ justify-content: flex-end;
88
+ }
@@ -6,17 +6,19 @@ const index$2 = require("./expose/index.cjs");
6
6
  const index$3 = require("./inserted/index.cjs");
7
7
  const index$4 = require("./locus/index.cjs");
8
8
  const index$5 = require("./scroll/index.cjs");
9
- const index$6 = require("./stick/index.cjs");
9
+ const index$6 = require("./sortable/index.cjs");
10
+ const index$7 = require("./stick/index.cjs");
10
11
  require("./v-loading/index.cjs");
11
- const index$7 = require("element-plus/es/components/loading/index");
12
+ const index$8 = require("element-plus/es/components/loading/index");
12
13
  exports.Adjust = index.default;
13
14
  exports.Drag = index$1.default;
14
15
  exports.Expose = index$2.default;
15
16
  exports.Inserted = index$3.default;
16
17
  exports.Locus = index$4.default;
17
18
  exports.Scroll = index$5.default;
18
- exports.Stick = index$6.default;
19
+ exports.Sortable = index$6.default;
20
+ exports.Stick = index$7.default;
19
21
  Object.defineProperty(exports, "VLoading", {
20
22
  enumerable: true,
21
- get: () => index$7.vLoading
23
+ get: () => index$8.vLoading
22
24
  });
@@ -4,5 +4,6 @@ export { default as Expose } from './expose';
4
4
  export { default as Inserted } from './inserted';
5
5
  export { default as Locus } from './locus';
6
6
  export { default as Scroll } from './scroll';
7
+ export { default as Sortable } from './sortable';
7
8
  export { default as Stick } from './stick';
8
9
  export { default as VLoading } from './v-loading';
@@ -4,7 +4,8 @@ import { default as default4 } from "./expose/index.js";
4
4
  import { default as default5 } from "./inserted/index.js";
5
5
  import { default as default6 } from "./locus/index.js";
6
6
  import { default as default7 } from "./scroll/index.js";
7
- import { default as default8 } from "./stick/index.js";
7
+ import { default as default8 } from "./sortable/index.js";
8
+ import { default as default9 } from "./stick/index.js";
8
9
  import "./v-loading/index.js";
9
10
  import { vLoading } from "element-plus/es/components/loading/index";
10
11
  export {
@@ -14,6 +15,7 @@ export {
14
15
  default5 as Inserted,
15
16
  default6 as Locus,
16
17
  default7 as Scroll,
17
- default8 as Stick,
18
+ default8 as Sortable,
19
+ default9 as Stick,
18
20
  vLoading as VLoading
19
21
  };
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const sortable_esm = require("../../node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.cjs");
4
+ const vSortable = {
5
+ name: "Sortable",
6
+ mounted(el, binding) {
7
+ const value = binding.value;
8
+ let selector = el.getAttribute(`sortable-selector`);
9
+ let dom;
10
+ if (value.dom) {
11
+ if (typeof value.dom == "string") {
12
+ dom = el.querySelector(value.dom);
13
+ } else {
14
+ dom = value.dom;
15
+ }
16
+ } else {
17
+ if (selector) {
18
+ dom = el.querySelector(selector);
19
+ } else {
20
+ dom = el;
21
+ }
22
+ }
23
+ if (dom && value.is !== false) {
24
+ const options = Object.assign(
25
+ {
26
+ animation: 150,
27
+ // 动画时长
28
+ ghostClass: "sortable-ghost",
29
+ // 拖拽时占位元素的样式
30
+ chosenClass: "sortable-chosen",
31
+ // 被选中元素的样式
32
+ dragClass: "sortable-drag"
33
+ // 拖拽元素的样式
34
+ },
35
+ value.options || {
36
+ ...value,
37
+ dom: void 0,
38
+ is: void 0
39
+ }
40
+ );
41
+ sortable_esm.default.create(dom, options);
42
+ }
43
+ }
44
+ };
45
+ exports.default = vSortable;
@@ -0,0 +1,6 @@
1
+ import { Directive } from 'vue';
2
+ /**
3
+ * Sortable
4
+ */
5
+ declare const _default: Directive;
6
+ export default _default;
@@ -0,0 +1,45 @@
1
+ import Sortable from "../../node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.js";
2
+ const vSortable = {
3
+ name: "Sortable",
4
+ mounted(el, binding) {
5
+ const value = binding.value;
6
+ let selector = el.getAttribute(`sortable-selector`);
7
+ let dom;
8
+ if (value.dom) {
9
+ if (typeof value.dom == "string") {
10
+ dom = el.querySelector(value.dom);
11
+ } else {
12
+ dom = value.dom;
13
+ }
14
+ } else {
15
+ if (selector) {
16
+ dom = el.querySelector(selector);
17
+ } else {
18
+ dom = el;
19
+ }
20
+ }
21
+ if (dom && value.is !== false) {
22
+ const options = Object.assign(
23
+ {
24
+ animation: 150,
25
+ // 动画时长
26
+ ghostClass: "sortable-ghost",
27
+ // 拖拽时占位元素的样式
28
+ chosenClass: "sortable-chosen",
29
+ // 被选中元素的样式
30
+ dragClass: "sortable-drag"
31
+ // 拖拽元素的样式
32
+ },
33
+ value.options || {
34
+ ...value,
35
+ dom: void 0,
36
+ is: void 0
37
+ }
38
+ );
39
+ Sortable.create(dom, options);
40
+ }
41
+ }
42
+ };
43
+ export {
44
+ vSortable as default
45
+ };
@@ -132,6 +132,7 @@ var config_default = {
132
132
  "paging",
133
133
  "tables",
134
134
  "tablesp",
135
+ "tablespd",
135
136
  "tabless",
136
137
  "tablesv",
137
138
  "tablesvp"
@@ -143,6 +144,7 @@ var config_default = {
143
144
  "inserted",
144
145
  "locus",
145
146
  "scroll",
147
+ "sortable",
146
148
  "stick",
147
149
  "v-loading"
148
150
  ],
@@ -199,6 +201,7 @@ var config_default = {
199
201
  "paging",
200
202
  "tables",
201
203
  "tablesp",
204
+ "tablespd",
202
205
  "tabless",
203
206
  "tablesv",
204
207
  "tablesvp",
@@ -132,6 +132,7 @@ var config_default = {
132
132
  "paging",
133
133
  "tables",
134
134
  "tablesp",
135
+ "tablespd",
135
136
  "tabless",
136
137
  "tablesv",
137
138
  "tablesvp"
@@ -143,6 +144,7 @@ var config_default = {
143
144
  "inserted",
144
145
  "locus",
145
146
  "scroll",
147
+ "sortable",
146
148
  "stick",
147
149
  "v-loading"
148
150
  ],
@@ -199,6 +201,7 @@ var config_default = {
199
201
  "paging",
200
202
  "tables",
201
203
  "tablesp",
204
+ "tablespd",
202
205
  "tabless",
203
206
  "tablesv",
204
207
  "tablesvp",
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIEODUGVJcjs = require('./chunk-IEODUGVJ.cjs');
3
+ var _chunkOT6GISSRcjs = require('./chunk-OT6GISSR.cjs');
4
4
 
5
5
  // expand/components.ts
6
6
  var _humpToLine = require('@fangzhongya/utils/name/humpToLine');
@@ -35,11 +35,11 @@ function getFrom(mc, type, conf) {
35
35
  const p = config.prefix ? config.prefix + "-" : "";
36
36
  const filename = p ? mc.replace(new RegExp("^" + p), "") : mc;
37
37
  if (type == 1) {
38
- if (_chunkIEODUGVJcjs.config_default.components.includes(filename)) {
38
+ if (_chunkOT6GISSRcjs.config_default.components.includes(filename)) {
39
39
  const name = _lineToLargeHump.lineToLargeHump.call(void 0, mc);
40
40
  const from = `${config.name}/components/${filename}/index`;
41
41
  let sideEffects;
42
- if (_chunkIEODUGVJcjs.config_default.sideEffects.includes(filename)) {
42
+ if (_chunkOT6GISSRcjs.config_default.sideEffects.includes(filename)) {
43
43
  if (conf.css) {
44
44
  sideEffects = `${config.name}/components/${filename}/style/index${conf.css || 2}.scss`;
45
45
  } else {
@@ -55,14 +55,14 @@ function getFrom(mc, type, conf) {
55
55
  return;
56
56
  }
57
57
  } else {
58
- if (_chunkIEODUGVJcjs.config_default.directives.includes(filename)) {
58
+ if (_chunkOT6GISSRcjs.config_default.directives.includes(filename)) {
59
59
  const name = "default";
60
60
  const from = `${config.name}/directives/${filename}/index`;
61
61
  return {
62
62
  name,
63
63
  from
64
64
  };
65
- } else if (_chunkIEODUGVJcjs.config_default.directives.includes("v-" + filename)) {
65
+ } else if (_chunkOT6GISSRcjs.config_default.directives.includes("v-" + filename)) {
66
66
  const name = "default";
67
67
  const from = `${config.name}/directives/${"v-" + filename}/index`;
68
68
  return {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  config_default
3
- } from "./chunk-XY53LCPN.js";
3
+ } from "./chunk-2BLP2ANQ.js";
4
4
 
5
5
  // expand/components.ts
6
6
  import { humpToLine } from "@fangzhongya/utils/name/humpToLine";
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkIEODUGVJcjs = require('./chunk-IEODUGVJ.cjs');
3
+ var _chunkOT6GISSRcjs = require('./chunk-OT6GISSR.cjs');
4
4
 
5
5
 
6
- exports.default = _chunkIEODUGVJcjs.config_default;
6
+ exports.default = _chunkOT6GISSRcjs.config_default;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  config_default
3
- } from "./chunk-XY53LCPN.js";
3
+ } from "./chunk-2BLP2ANQ.js";
4
4
  export {
5
5
  config_default as default
6
6
  };
@@ -12,9 +12,9 @@ export declare const useCssName: (block: string) => {
12
12
  ec: (name?: string, blockSuffix?: string, element?: string, modifier?: string) => string;
13
13
  is: (name: string, state?: boolean) => string;
14
14
  zis: (blockSuffix?: string, modifier?: string, state?: boolean) => string;
15
- vo: (object: Record<string, string>) => Record<string, string>;
15
+ vo: (object: Record<string, string | number>) => Record<string, string | number>;
16
16
  vm: (name: string) => string;
17
- vdo: (object: Record<string, string | undefined>) => Record<string, string>;
17
+ vdo: (object: Record<string, string | number | undefined>) => Record<string, string | number>;
18
18
  vdm: (name: string) => string;
19
19
  };
20
20
  export type UseCssNameReturn = ReturnType<typeof useCssName>;
@@ -19,7 +19,6 @@ exports.provideGlobalConfig = index$5.provideGlobalConfig;
19
19
  exports.setGlobalConfig = index$5.setGlobalConfig;
20
20
  exports.setGlobalConfigs = index$5.setGlobalConfigs;
21
21
  exports.useGlobalConfig = index$5.useGlobalConfig;
22
- exports.useAttrValue = index$6.useAttrValue;
23
22
  exports.useInherit = index$6.useInherit;
24
23
  exports.buildLocaleAdd = index$7.buildLocaleAdd;
25
24
  exports.buildLocaleContext = index$7.buildLocaleContext;
@@ -4,7 +4,7 @@ import { eventAliass } from "./event-aliass/index.js";
4
4
  import { useExpose } from "./expose/index.js";
5
5
  import { useFullscreen } from "./full-screen/index.js";
6
6
  import { provideGlobalConfig, setGlobalConfig, setGlobalConfigs, useGlobalConfig } from "./global-config/index.js";
7
- import { useAttrValue, useInherit } from "./inherit/index.js";
7
+ import { useInherit } from "./inherit/index.js";
8
8
  import { buildLocaleAdd, buildLocaleContext, buildTranslator, useLocale } from "./locale/index.js";
9
9
  import { getProps, usePropsDefault, viewProps } from "./props-default/index.js";
10
10
  export {
@@ -16,7 +16,6 @@ export {
16
16
  provideGlobalConfig,
17
17
  setGlobalConfig,
18
18
  setGlobalConfigs,
19
- useAttrValue,
20
19
  useCssName,
21
20
  useDefaultConfig,
22
21
  useDefaultConfigs,
@@ -45,12 +45,4 @@ const useInherit = (attrs = vue.useAttrs(), name) => {
45
45
  })
46
46
  };
47
47
  };
48
- function useAttrValue(attrs, k) {
49
- if (typeof k === "string") {
50
- return attrs[k] ?? attrs[humpToLine.humpToLine(k)];
51
- } else {
52
- return attrs[k];
53
- }
54
- }
55
- exports.useAttrValue = useAttrValue;
56
48
  exports.useInherit = useInherit;
@@ -9,6 +9,5 @@ export declare const useInherit: (attrs?: {
9
9
  root: Data;
10
10
  assem: Assem;
11
11
  };
12
- export declare function useAttrValue(attrs: Data, k: string | symbol): unknown;
13
12
  export type UseInheritReturn = ReturnType<typeof useInherit>;
14
13
  export {};
@@ -43,14 +43,6 @@ const useInherit = (attrs = useAttrs(), name) => {
43
43
  })
44
44
  };
45
45
  };
46
- function useAttrValue(attrs, k) {
47
- if (typeof k === "string") {
48
- return attrs[k] ?? attrs[humpToLine(k)];
49
- } else {
50
- return attrs[k];
51
- }
52
- }
53
46
  export {
54
- useAttrValue,
55
47
  useInherit
56
48
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "prefix": "fang-ui",
3
3
  "info": {},
4
- "lastModified": 1762779395198,
4
+ "lastModified": 1762855089390,
5
5
  "icons": {
6
6
  "bar": {
7
7
  "body": " <path fill=\"currentColor\" d=\"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64z\" ></path> "
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const index$2X = require("./components/index.cjs");
4
- const index$2Y = require("./directives/index.cjs");
5
- const index$2Z = require("./icons/index.cjs");
3
+ const index$2Z = require("./components/index.cjs");
4
+ const index$2_ = require("./directives/index.cjs");
5
+ const index$2$ = require("./icons/index.cjs");
6
6
  const index$2 = require("element-plus/es/components/button/index");
7
7
  const index$1 = require("./components/button/index.cjs");
8
8
  const index$4 = require("element-plus/es/components/card/index");
@@ -179,29 +179,31 @@ const index$2J = require("./components/listsp/index.cjs");
179
179
  const index$2K = require("./components/paging/index.cjs");
180
180
  const index$2L = require("./components/tables/index.cjs");
181
181
  const index$2M = require("./components/tablesp/index.cjs");
182
- const index$2N = require("./components/tabless/index.cjs");
183
- const index$2O = require("./components/tablesv/index.cjs");
184
- const index$2P = require("./components/tablesvp/index.cjs");
185
- const index$2Q = require("./directives/adjust/index.cjs");
186
- const index$2R = require("./directives/drag/index.cjs");
187
- const index$2S = require("./directives/expose/index.cjs");
188
- const index$2T = require("./directives/inserted/index.cjs");
189
- const index$2U = require("./directives/locus/index.cjs");
190
- const index$2V = require("./directives/scroll/index.cjs");
191
- const index$2W = require("./directives/stick/index.cjs");
182
+ const index$2N = require("./components/tablespd/index.cjs");
183
+ const index$2O = require("./components/tabless/index.cjs");
184
+ const index$2P = require("./components/tablesv/index.cjs");
185
+ const index$2Q = require("./components/tablesvp/index.cjs");
186
+ const index$2R = require("./directives/adjust/index.cjs");
187
+ const index$2S = require("./directives/drag/index.cjs");
188
+ const index$2T = require("./directives/expose/index.cjs");
189
+ const index$2U = require("./directives/inserted/index.cjs");
190
+ const index$2V = require("./directives/locus/index.cjs");
191
+ const index$2W = require("./directives/scroll/index.cjs");
192
+ const index$2X = require("./directives/sortable/index.cjs");
193
+ const index$2Y = require("./directives/stick/index.cjs");
192
194
  const index = {
193
195
  install: function(app) {
194
- const com = index$2X;
196
+ const com = index$2Z;
195
197
  Object.keys(com).forEach((key) => {
196
198
  if (com[key].install) {
197
199
  com[key].install(app);
198
200
  }
199
201
  });
200
- const dire = index$2Y;
202
+ const dire = index$2_;
201
203
  Object.keys(dire).forEach((key) => {
202
204
  app.directive(key, dire[key]);
203
205
  });
204
- index$2Z.default(app);
206
+ index$2$.default(app);
205
207
  }
206
208
  };
207
209
  exports.Button = index$1.Button;
@@ -339,16 +341,18 @@ exports.Listsp = index$2J.Listsp;
339
341
  exports.Paging = index$2K.Paging;
340
342
  exports.Tables = index$2L.Tables;
341
343
  exports.Tablesp = index$2M.Tablesp;
342
- exports.Tabless = index$2N.Tabless;
343
- exports.Tablesv = index$2O.Tablesv;
344
- exports.Tablesvp = index$2P.Tablesvp;
345
- exports.Adjust = index$2Q.default;
346
- exports.Drag = index$2R.default;
347
- exports.Expose = index$2S.default;
348
- exports.Inserted = index$2T.default;
349
- exports.Locus = index$2U.default;
350
- exports.Scroll = index$2V.default;
351
- exports.Stick = index$2W.default;
344
+ exports.Tablespd = index$2N.Tablespd;
345
+ exports.Tabless = index$2O.Tabless;
346
+ exports.Tablesv = index$2P.Tablesv;
347
+ exports.Tablesvp = index$2Q.Tablesvp;
348
+ exports.Adjust = index$2R.default;
349
+ exports.Drag = index$2S.default;
350
+ exports.Expose = index$2T.default;
351
+ exports.Inserted = index$2U.default;
352
+ exports.Locus = index$2V.default;
353
+ exports.Scroll = index$2W.default;
354
+ exports.Sortable = index$2X.default;
355
+ exports.Stick = index$2Y.default;
352
356
  exports.default = index;
353
357
  Object.keys(index$2).forEach((k) => {
354
358
  if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
package/dist/index.js CHANGED
@@ -178,6 +178,7 @@ import { Listsp } from "./components/listsp/index.js";
178
178
  import { Paging } from "./components/paging/index.js";
179
179
  import { Tables } from "./components/tables/index.js";
180
180
  import { Tablesp } from "./components/tablesp/index.js";
181
+ import { Tablespd } from "./components/tablespd/index.js";
181
182
  import { Tabless } from "./components/tabless/index.js";
182
183
  import { Tablesv } from "./components/tablesv/index.js";
183
184
  import { Tablesvp } from "./components/tablesvp/index.js";
@@ -187,7 +188,8 @@ import { default as default4 } from "./directives/expose/index.js";
187
188
  import { default as default5 } from "./directives/inserted/index.js";
188
189
  import { default as default6 } from "./directives/locus/index.js";
189
190
  import { default as default7 } from "./directives/scroll/index.js";
190
- import { default as default8 } from "./directives/stick/index.js";
191
+ import { default as default8 } from "./directives/sortable/index.js";
192
+ import { default as default9 } from "./directives/stick/index.js";
191
193
  const index = {
192
194
  install: function(app) {
193
195
  const com = index$K;
@@ -314,7 +316,8 @@ export {
314
316
  Selects,
315
317
  Slider,
316
318
  Sliders,
317
- default8 as Stick,
319
+ default8 as Sortable,
320
+ default9 as Stick,
318
321
  StickDiv,
319
322
  StickEdge,
320
323
  StickWindow,
@@ -326,6 +329,7 @@ export {
326
329
  TableColumn,
327
330
  Tables,
328
331
  Tablesp,
332
+ Tablespd,
329
333
  Tabless,
330
334
  Tablesv,
331
335
  Tablesvp,