@fangzhongya/fang-ui 0.1.18 → 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.
- package/dist/components/forms/src/data.cjs +3 -3
- package/dist/components/forms/src/data.d.ts +1 -1
- package/dist/components/forms/src/data.js +3 -3
- package/dist/components/forms/src/index2.cjs +5 -3
- package/dist/components/forms/src/index2.js +5 -3
- package/dist/components/forms/src/setup.cjs +0 -7
- package/dist/components/forms/src/setup.js +0 -7
- package/dist/components/forms-div/src/data.cjs +7 -1
- package/dist/components/forms-div/src/data.d.ts +6 -0
- package/dist/components/forms-div/src/data.js +7 -1
- package/dist/components/forms-div/src/index2.cjs +35 -10
- package/dist/components/forms-div/src/index2.js +36 -11
- package/dist/components/forms-item/src/data.cjs +1 -1
- package/dist/components/forms-item/src/data.js +1 -1
- package/dist/components/forms-item/src/index2.cjs +4 -2
- package/dist/components/forms-item/src/index2.js +4 -2
- package/dist/components/forms-items/src/data.cjs +1 -1
- package/dist/components/forms-items/src/data.js +1 -1
- package/dist/components/forms-items/src/index2.cjs +4 -2
- package/dist/components/forms-items/src/index2.js +4 -2
- package/dist/components/global-config/src/data.cjs +12 -0
- package/dist/components/global-config/src/data.d.ts +12 -0
- package/dist/components/global-config/src/data.js +12 -0
- package/dist/components/index.cjs +8 -6
- package/dist/{index.css → components/index.css} +39 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.scss +1 -0
- package/dist/components/index2.scss +2 -2
- package/dist/components/list/index.css +12 -0
- package/dist/components/list/index.scss +15 -0
- package/dist/components/list/src/data.cjs +21 -2
- package/dist/components/list/src/data.d.ts +22 -1
- package/dist/components/list/src/data.js +21 -2
- package/dist/components/list/src/index2.cjs +61 -10
- package/dist/components/list/src/index2.js +61 -10
- package/dist/components/list/style/index2.scss +1 -0
- package/dist/components/page/index.css +11 -0
- package/dist/components/tables/common/pagin.cjs +60 -16
- package/dist/components/tables/common/pagin.d.ts +8 -0
- package/dist/components/tables/common/pagin.js +60 -16
- package/dist/components/tables/common/tooltip.cjs +101 -0
- package/dist/components/tables/common/tooltip.d.ts +6 -0
- package/dist/components/tables/common/tooltip.js +101 -0
- package/dist/components/tables/common/util.cjs +3 -3
- package/dist/components/tables/common/util.js +3 -3
- package/dist/components/tables/src/column.cjs +19 -15
- package/dist/components/tables/src/column.d.ts +3 -2
- package/dist/components/tables/src/column.js +17 -13
- package/dist/components/tables/src/columns3.cjs +16 -32
- package/dist/components/tables/src/columns3.js +15 -31
- package/dist/components/tables/src/data.cjs +3 -2
- package/dist/components/tables/src/data.d.ts +1 -0
- package/dist/components/tables/src/data.js +3 -2
- package/dist/components/tablespd/index.cjs +9 -0
- package/dist/components/tablespd/index.css +88 -0
- package/dist/components/tablespd/index.d.ts +4 -0
- package/dist/components/tablespd/index.js +9 -0
- package/dist/components/tablespd/index.scss +40 -0
- package/dist/components/tablespd/src/data.cjs +13 -0
- package/dist/components/tablespd/src/data.d.ts +18 -0
- package/dist/components/tablespd/src/data.js +13 -0
- package/dist/components/tablespd/src/index.cjs +4 -0
- package/dist/components/tablespd/src/index.js +4 -0
- package/dist/components/tablespd/src/index2.cjs +111 -0
- package/dist/components/tablespd/src/index2.js +111 -0
- package/dist/components/tablespd/style/index2.scss +4 -0
- package/dist/components/tablesv/src/column.cjs +4 -4
- package/dist/components/tablesv/src/column.js +3 -3
- package/dist/css/index.css +39 -0
- package/dist/css/list.css +12 -0
- package/dist/css/page.css +11 -0
- package/dist/css/tablespd.css +88 -0
- package/dist/directives/index.cjs +6 -4
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/index.js +4 -2
- package/dist/directives/sortable/index.cjs +45 -0
- package/dist/directives/sortable/index.d.ts +6 -0
- package/dist/directives/sortable/index.js +45 -0
- package/dist/expand/{chunk-XY53LCPN.js → chunk-2BLP2ANQ.js} +3 -0
- package/dist/expand/{chunk-IEODUGVJ.cjs → chunk-OT6GISSR.cjs} +3 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/hooks/cssname/index.d.ts +2 -2
- package/dist/hooks/index.cjs +0 -1
- package/dist/hooks/index.js +1 -2
- package/dist/hooks/inherit/index.cjs +0 -8
- package/dist/hooks/inherit/index.d.ts +0 -1
- package/dist/hooks/inherit/index.js +0 -8
- package/dist/icons/index.json +1 -1
- package/dist/index.cjs +30 -26
- package/dist/index.js +6 -2
- package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.cjs +2758 -0
- package/dist/node_modules/.pnpm/sortablejs@1.15.6/node_modules/sortablejs/modular/sortable.esm.js +2758 -0
- package/dist/utils/vues/getAttrValue.cjs +11 -0
- package/dist/utils/vues/getAttrValue.d.ts +3 -0
- package/dist/utils/vues/getAttrValue.js +11 -0
- package/dist/utils/vues/index.cjs +2 -0
- package/dist/utils/vues/index.d.ts +1 -0
- package/dist/utils/vues/index.js +2 -0
- package/package.json +7 -5
- /package/dist/components/{forms-item → forms-items}/index.css +0 -0
- /package/dist/css/{forms-item.css → forms-items.css} +0 -0
|
@@ -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
|
};
|
package/dist/icons/index.json
CHANGED
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$
|
|
4
|
-
const index$
|
|
5
|
-
const index$
|
|
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/
|
|
183
|
-
const index$2O = require("./components/
|
|
184
|
-
const index$2P = require("./components/
|
|
185
|
-
const index$2Q = require("./
|
|
186
|
-
const index$2R = require("./directives/
|
|
187
|
-
const index$2S = require("./directives/
|
|
188
|
-
const index$2T = require("./directives/
|
|
189
|
-
const index$2U = require("./directives/
|
|
190
|
-
const index$2V = require("./directives/
|
|
191
|
-
const index$2W = require("./directives/
|
|
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$
|
|
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$
|
|
202
|
+
const dire = index$2_;
|
|
201
203
|
Object.keys(dire).forEach((key) => {
|
|
202
204
|
app.directive(key, dire[key]);
|
|
203
205
|
});
|
|
204
|
-
index$
|
|
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.
|
|
343
|
-
exports.
|
|
344
|
-
exports.
|
|
345
|
-
exports.
|
|
346
|
-
exports.
|
|
347
|
-
exports.
|
|
348
|
-
exports.
|
|
349
|
-
exports.
|
|
350
|
-
exports.
|
|
351
|
-
exports.
|
|
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/
|
|
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
|
|
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,
|