@fangzhongya/fang-ui 0.1.27 → 0.1.28
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/array/index.css +4 -0
- package/dist/components/array/src/index2.cjs +5 -5
- package/dist/components/array/src/index2.js +2 -2
- package/dist/components/audios/index.css +4 -0
- package/dist/components/box/index.css +4 -0
- package/dist/components/box-adjust/index.css +4 -0
- package/dist/components/box-local/index.css +4 -0
- package/dist/components/box-mask/index.css +4 -0
- package/dist/components/box-title/index.css +4 -0
- package/dist/components/buttons/index.css +4 -0
- package/dist/components/cascaders/index.css +4 -0
- package/dist/components/checks/index.css +4 -0
- package/dist/components/common/compons/components.cjs +52 -0
- package/dist/components/common/compons/components.d.ts +27 -0
- package/dist/components/common/compons/components.js +52 -0
- package/dist/components/common/compons/index.scss +23 -0
- package/dist/components/common/compons/index2.scss +23 -0
- package/dist/components/common/use.cjs +29 -3
- package/dist/components/common/use.d.ts +2 -2
- package/dist/components/common/use.js +29 -3
- package/dist/components/dates/index.css +4 -0
- package/dist/components/dates-divide/index.css +4 -0
- package/dist/components/dates-picker/index.css +4 -0
- package/dist/components/dates2/index.css +4 -0
- package/dist/components/dialogs/index.css +4 -0
- package/dist/components/edit/index.css +4 -0
- package/dist/components/edit-float/index.css +4 -0
- package/dist/components/forms/common/config.cjs +11 -1
- package/dist/components/forms/common/config.d.ts +1 -0
- package/dist/components/forms/common/config.js +11 -1
- package/dist/components/forms/index.css +10 -6
- package/dist/components/forms/index.scss +2 -1
- package/dist/components/forms/src/data.cjs +7 -0
- package/dist/components/forms/src/data.d.ts +7 -0
- package/dist/components/forms/src/data.js +7 -0
- package/dist/components/forms/src/setup.cjs +3 -12
- package/dist/components/forms/src/setup.d.ts +1 -1
- package/dist/components/forms/src/setup.js +4 -13
- package/dist/components/forms/style/index2.scss +3 -1
- package/dist/components/forms-div/index.css +4 -0
- package/dist/components/forms-div/src/index2.cjs +4 -4
- package/dist/components/forms-div/src/index2.js +2 -2
- package/dist/components/forms-item/index.css +4 -0
- package/dist/components/forms-item/src/indexts.d.ts +1 -1
- package/dist/components/forms-item/src/label.cjs +15 -28
- package/dist/components/forms-item/src/label.js +16 -29
- package/dist/components/full-screen/index.css +4 -0
- package/dist/components/history/index.css +4 -0
- package/dist/components/icon/index.css +4 -0
- package/dist/components/icon-picker/index.css +4 -0
- package/dist/components/iframe/index.css +4 -0
- package/dist/components/images/index.css +4 -0
- package/dist/components/index.cjs +2 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.scss +2 -1
- package/dist/components/index2.scss +2 -1
- package/dist/components/input-array/index.css +4 -0
- package/dist/components/input-history/index.css +4 -0
- package/dist/components/input-num/index.css +4 -0
- package/dist/components/input-select/index.css +4 -0
- package/dist/components/inputs/index.css +4 -0
- package/dist/components/{global-config → keep-com}/index.css +4 -0
- package/dist/components/labels/index.css +4 -0
- package/dist/components/list/index.css +4 -0
- package/dist/components/list/src/data.cjs +6 -0
- package/dist/components/list/src/data.d.ts +6 -0
- package/dist/components/list/src/data.js +6 -0
- package/dist/components/list/src/index2.cjs +6 -6
- package/dist/components/list/src/index2.js +2 -2
- package/dist/components/lists/index.css +4 -0
- package/dist/components/listsp/index.css +4 -0
- package/dist/components/listspd/index.css +4 -0
- package/dist/components/menus/index.css +4 -0
- package/dist/components/no-data/index.css +4 -0
- package/dist/components/page/index.css +10 -6
- package/dist/components/paging/index.css +4 -0
- package/dist/components/popup/index.css +4 -0
- package/dist/components/retract/index.css +4 -0
- package/dist/components/right-key/index.css +4 -0
- package/dist/components/scss/common.scss +4 -0
- package/dist/components/seamless-scroll/index.css +4 -0
- package/dist/components/select-scroll/index.css +4 -0
- package/dist/components/selector/index.css +4 -0
- package/dist/components/selects/index.css +4 -0
- package/dist/components/sliders/index.css +4 -0
- package/dist/components/switchs/index.css +4 -0
- package/dist/components/tables/common/config.cjs +1 -1
- package/dist/components/tables/common/config.js +1 -1
- package/dist/components/tables/common/pagin.cjs +74 -32
- package/dist/components/tables/common/pagin.d.ts +8 -1
- package/dist/components/tables/common/pagin.js +74 -32
- package/dist/components/tables/index.css +4 -0
- package/dist/components/tables/src/column.cjs +22 -20
- package/dist/components/tables/src/column.d.ts +3 -0
- package/dist/components/tables/src/column.js +14 -12
- package/dist/components/tables/src/data.cjs +15 -0
- package/dist/components/tables/src/data.d.ts +13 -0
- package/dist/components/tables/src/data.js +15 -0
- package/dist/components/tables/src/index2.cjs +17 -9
- package/dist/components/tables/src/index2.js +11 -3
- package/dist/components/tablesp/index.css +4 -0
- package/dist/components/tablespd/index.css +4 -0
- package/dist/components/tabless/index.css +4 -0
- package/dist/components/tablesv/index.css +4 -0
- package/dist/components/tablesv/src/column.cjs +116 -112
- package/dist/components/tablesv/src/column.d.ts +3 -1
- package/dist/components/tablesv/src/column.js +110 -106
- package/dist/components/tablesv/src/data.cjs +44 -0
- package/dist/components/tablesv/src/data.d.ts +43 -1
- package/dist/components/tablesv/src/data.js +44 -0
- package/dist/components/tablesv/src/index2.cjs +37 -14
- package/dist/components/tablesv/src/index2.js +36 -13
- package/dist/components/tablesv/style/index2.scss +3 -1
- package/dist/components/tablesvp/index.css +10 -0
- package/dist/components/tablesvp/index.scss +8 -0
- package/dist/components/tablesvp/src/index2.cjs +15 -5
- package/dist/components/tablesvp/src/index2.js +15 -5
- package/dist/components/tablesvpd/index.cjs +9 -0
- package/dist/components/tablesvpd/index.css +157 -0
- package/dist/components/tablesvpd/index.d.ts +4 -0
- package/dist/components/tablesvpd/index.js +9 -0
- package/dist/components/tablesvpd/index.scss +41 -0
- package/dist/components/tablesvpd/src/data.cjs +13 -0
- package/dist/components/tablesvpd/src/data.d.ts +18 -0
- package/dist/components/tablesvpd/src/data.js +13 -0
- package/dist/components/tablesvpd/src/index.cjs +4 -0
- package/dist/components/tablesvpd/src/index.js +4 -0
- package/dist/components/tablesvpd/src/index2.cjs +107 -0
- package/dist/components/tablesvpd/src/index2.js +107 -0
- package/dist/components/tablesvpd/style/index2.scss +4 -0
- package/dist/components/uploads/index.css +4 -0
- package/dist/components/videos/index.css +4 -0
- package/dist/components/window/index.css +4 -0
- package/dist/css/array.css +4 -0
- package/dist/css/audios.css +4 -0
- package/dist/css/box-adjust.css +4 -0
- package/dist/css/box-local.css +4 -0
- package/dist/css/box-mask.css +4 -0
- package/dist/css/box-title.css +4 -0
- package/dist/css/box.css +4 -0
- package/dist/css/buttons.css +4 -0
- package/dist/css/cascaders.css +4 -0
- package/dist/css/checks.css +4 -0
- package/dist/css/dates-divide.css +4 -0
- package/dist/css/dates-picker.css +4 -0
- package/dist/css/dates.css +4 -0
- package/dist/css/dates2.css +4 -0
- package/dist/css/dialogs.css +4 -0
- package/dist/css/edit-float.css +4 -0
- package/dist/css/edit.css +4 -0
- package/dist/css/forms-div.css +4 -0
- package/dist/css/forms-item.css +4 -0
- package/dist/css/forms.css +10 -6
- package/dist/css/full-screen.css +4 -0
- package/dist/css/history.css +4 -0
- package/dist/css/icon-picker.css +4 -0
- package/dist/css/icon.css +4 -0
- package/dist/css/iframe.css +4 -0
- package/dist/css/images.css +4 -0
- package/dist/css/index.css +44 -6
- package/dist/css/input-array.css +4 -0
- package/dist/css/input-history.css +4 -0
- package/dist/css/input-num.css +4 -0
- package/dist/css/input-select.css +4 -0
- package/dist/css/inputs.css +4 -0
- package/dist/css/{global-config.css → keep-com.css} +4 -0
- package/dist/css/labels.css +4 -0
- package/dist/css/list.css +4 -0
- package/dist/css/lists.css +4 -0
- package/dist/css/listsp.css +4 -0
- package/dist/css/listspd.css +4 -0
- package/dist/css/menus.css +4 -0
- package/dist/css/no-data.css +4 -0
- package/dist/css/page.css +10 -6
- package/dist/css/paging.css +4 -0
- package/dist/css/popup.css +4 -0
- package/dist/css/retract.css +4 -0
- package/dist/css/right-key.css +4 -0
- package/dist/css/seamless-scroll.css +4 -0
- package/dist/css/select-scroll.css +4 -0
- package/dist/css/selector.css +4 -0
- package/dist/css/selects.css +4 -0
- package/dist/css/sliders.css +4 -0
- package/dist/css/switchs.css +4 -0
- package/dist/css/tables.css +4 -0
- package/dist/css/tablesp.css +4 -0
- package/dist/css/tablespd.css +4 -0
- package/dist/css/tabless.css +4 -0
- package/dist/css/tablesv.css +4 -0
- package/dist/css/tablesvp.css +10 -0
- package/dist/css/tablesvpd.css +157 -0
- package/dist/css/uploads.css +4 -0
- package/dist/css/videos.css +4 -0
- package/dist/css/window.css +4 -0
- package/dist/expand/{chunk-MC76Q3TQ.cjs → chunk-3HP2ZDNG.cjs} +3 -1
- package/dist/expand/{chunk-CV4O5V2F.js → chunk-7C25SBCF.js} +3 -1
- 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/compons/index.cjs +44 -0
- package/dist/hooks/compons/index.d.ts +7 -0
- package/dist/hooks/compons/index.js +44 -0
- package/dist/icons/index.json +1 -1
- package/dist/index.cjs +24 -22
- package/dist/index.css +44 -6
- package/dist/index.js +2 -0
- package/package.json +12 -12
- package/dist/components/common/compons.cjs +0 -76
- package/dist/components/common/compons.d.ts +0 -9
- package/dist/components/common/compons.js +0 -76
- package/dist/components/common/compons.scss +0 -26
- package/dist/components/common/compons2.scss +0 -26
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const vue = require("vue");
|
|
4
|
-
require("../../utils/index.cjs");
|
|
5
|
-
const index$m = require("../array/index.cjs");
|
|
6
|
-
const index$l = require("../checks/index.cjs");
|
|
7
|
-
const index$j = require("../dates/index.cjs");
|
|
8
|
-
const index$k = require("../selects/index.cjs");
|
|
9
|
-
const index$i = require("../inputs/index.cjs");
|
|
10
|
-
const index$h = require("../labels/index.cjs");
|
|
11
|
-
const index$g = require("../switchs/index.cjs");
|
|
12
|
-
const index$f = require("../buttons/index.cjs");
|
|
13
|
-
const index$e = require("../dates-divide/index.cjs");
|
|
14
|
-
const index$d = require("../dates-picker/index.cjs");
|
|
15
|
-
const index$c = require("../edit-float/index.cjs");
|
|
16
|
-
const index$b = require("../edit/index.cjs");
|
|
17
|
-
const index$a = require("../history/index.cjs");
|
|
18
|
-
const index$9 = require("../images/index.cjs");
|
|
19
|
-
const index$8 = require("../input-array/index.cjs");
|
|
20
|
-
const index$7 = require("../input-history/index.cjs");
|
|
21
|
-
const index$6 = require("../input-select/index.cjs");
|
|
22
|
-
const index$5 = require("../select-scroll/index.cjs");
|
|
23
|
-
const index$4 = require("../selector/index.cjs");
|
|
24
|
-
const index$3 = require("../cascaders/index.cjs");
|
|
25
|
-
const index$2 = require("../input-num/index.cjs");
|
|
26
|
-
const index$1 = require("../texts/index.cjs");
|
|
27
|
-
const index = require("../uploads/index.cjs");
|
|
28
|
-
const lineToLargeHump = require("@fangzhongya/utils/name/lineToLargeHump");
|
|
29
|
-
const components = {
|
|
30
|
-
Array: index$m.Array,
|
|
31
|
-
Check: index$l.Checks,
|
|
32
|
-
Select: index$k.Selects,
|
|
33
|
-
Date: index$j.Dates,
|
|
34
|
-
Input: index$i.Inputs,
|
|
35
|
-
Labels: index$h.Labels,
|
|
36
|
-
Switch: index$g.Switchs,
|
|
37
|
-
Buttons: index$f.Buttons,
|
|
38
|
-
DateDivide: index$e.DatesDivide,
|
|
39
|
-
DatePicker: index$d.DatesPicker,
|
|
40
|
-
EditFloat: index$c.EditFloat,
|
|
41
|
-
Edit: index$b.Edit,
|
|
42
|
-
History: index$a.History,
|
|
43
|
-
Images: index$9.Images,
|
|
44
|
-
InputArray: index$8.InputArray,
|
|
45
|
-
InputHistory: index$7.InputHistory,
|
|
46
|
-
InputSelect: index$6.InputSelect,
|
|
47
|
-
SelectScroll: index$5.SelectScroll,
|
|
48
|
-
Selector: index$4.Selector,
|
|
49
|
-
Cascader: index$3.Cascaders,
|
|
50
|
-
InputNum: index$2.InputNum,
|
|
51
|
-
Text: index$1.Texts,
|
|
52
|
-
Upload: index.Uploads
|
|
53
|
-
};
|
|
54
|
-
function getCompons(...arrs) {
|
|
55
|
-
const coms = { ...components };
|
|
56
|
-
arrs.forEach((obj) => {
|
|
57
|
-
Object.keys(obj).forEach((key) => {
|
|
58
|
-
const tkey = lineToLargeHump.lineToLargeHump(key);
|
|
59
|
-
coms[tkey] = obj[key];
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
return coms;
|
|
63
|
-
}
|
|
64
|
-
const comKey = "com-compons";
|
|
65
|
-
function useCompons(key, ...arrs) {
|
|
66
|
-
const tfcom = getCompons(...arrs);
|
|
67
|
-
vue.provide(key || comKey, tfcom);
|
|
68
|
-
return tfcom;
|
|
69
|
-
}
|
|
70
|
-
function useGetCompons(key, value = {}) {
|
|
71
|
-
return vue.inject(key || comKey, value);
|
|
72
|
-
}
|
|
73
|
-
exports.components = components;
|
|
74
|
-
exports.getCompons = getCompons;
|
|
75
|
-
exports.useCompons = useCompons;
|
|
76
|
-
exports.useGetCompons = useGetCompons;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Component } from 'vue';
|
|
2
|
-
type Compons = {
|
|
3
|
-
[key: string]: Component;
|
|
4
|
-
};
|
|
5
|
-
export declare const components: Compons;
|
|
6
|
-
export declare function getCompons(...arrs: Compons[]): Compons;
|
|
7
|
-
export declare function useCompons(key: string, ...arrs: Compons[]): Compons;
|
|
8
|
-
export declare function useGetCompons(key: string, value?: Compons): Compons;
|
|
9
|
-
export {};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { provide, inject } from "vue";
|
|
2
|
-
import "../../utils/index.js";
|
|
3
|
-
import { Array } from "../array/index.js";
|
|
4
|
-
import { Checks } from "../checks/index.js";
|
|
5
|
-
import { Dates } from "../dates/index.js";
|
|
6
|
-
import { Selects } from "../selects/index.js";
|
|
7
|
-
import { Inputs } from "../inputs/index.js";
|
|
8
|
-
import { Labels } from "../labels/index.js";
|
|
9
|
-
import { Switchs } from "../switchs/index.js";
|
|
10
|
-
import { Buttons } from "../buttons/index.js";
|
|
11
|
-
import { DatesDivide } from "../dates-divide/index.js";
|
|
12
|
-
import { DatesPicker } from "../dates-picker/index.js";
|
|
13
|
-
import { EditFloat } from "../edit-float/index.js";
|
|
14
|
-
import { Edit } from "../edit/index.js";
|
|
15
|
-
import { History } from "../history/index.js";
|
|
16
|
-
import { Images } from "../images/index.js";
|
|
17
|
-
import { InputArray } from "../input-array/index.js";
|
|
18
|
-
import { InputHistory } from "../input-history/index.js";
|
|
19
|
-
import { InputSelect } from "../input-select/index.js";
|
|
20
|
-
import { SelectScroll } from "../select-scroll/index.js";
|
|
21
|
-
import { Selector } from "../selector/index.js";
|
|
22
|
-
import { Cascaders } from "../cascaders/index.js";
|
|
23
|
-
import { InputNum } from "../input-num/index.js";
|
|
24
|
-
import { Texts } from "../texts/index.js";
|
|
25
|
-
import { Uploads } from "../uploads/index.js";
|
|
26
|
-
import { lineToLargeHump } from "@fangzhongya/utils/name/lineToLargeHump";
|
|
27
|
-
const components = {
|
|
28
|
-
Array,
|
|
29
|
-
Check: Checks,
|
|
30
|
-
Select: Selects,
|
|
31
|
-
Date: Dates,
|
|
32
|
-
Input: Inputs,
|
|
33
|
-
Labels,
|
|
34
|
-
Switch: Switchs,
|
|
35
|
-
Buttons,
|
|
36
|
-
DateDivide: DatesDivide,
|
|
37
|
-
DatePicker: DatesPicker,
|
|
38
|
-
EditFloat,
|
|
39
|
-
Edit,
|
|
40
|
-
History,
|
|
41
|
-
Images,
|
|
42
|
-
InputArray,
|
|
43
|
-
InputHistory,
|
|
44
|
-
InputSelect,
|
|
45
|
-
SelectScroll,
|
|
46
|
-
Selector,
|
|
47
|
-
Cascader: Cascaders,
|
|
48
|
-
InputNum,
|
|
49
|
-
Text: Texts,
|
|
50
|
-
Upload: Uploads
|
|
51
|
-
};
|
|
52
|
-
function getCompons(...arrs) {
|
|
53
|
-
const coms = { ...components };
|
|
54
|
-
arrs.forEach((obj) => {
|
|
55
|
-
Object.keys(obj).forEach((key) => {
|
|
56
|
-
const tkey = lineToLargeHump(key);
|
|
57
|
-
coms[tkey] = obj[key];
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
return coms;
|
|
61
|
-
}
|
|
62
|
-
const comKey = "com-compons";
|
|
63
|
-
function useCompons(key, ...arrs) {
|
|
64
|
-
const tfcom = getCompons(...arrs);
|
|
65
|
-
provide(key || comKey, tfcom);
|
|
66
|
-
return tfcom;
|
|
67
|
-
}
|
|
68
|
-
function useGetCompons(key, value = {}) {
|
|
69
|
-
return inject(key || comKey, value);
|
|
70
|
-
}
|
|
71
|
-
export {
|
|
72
|
-
components,
|
|
73
|
-
getCompons,
|
|
74
|
-
useCompons,
|
|
75
|
-
useGetCompons
|
|
76
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
@use '../array/index.scss' as *;
|
|
2
|
-
@use '../checks/index.scss' as *;
|
|
3
|
-
@use '../dates/index.scss' as *;
|
|
4
|
-
@use '../selects/index.scss' as *;
|
|
5
|
-
@use '../inputs/index.scss' as *;
|
|
6
|
-
@use '../labels/index.scss' as *;
|
|
7
|
-
@use '../switchs/index.scss' as *;
|
|
8
|
-
|
|
9
|
-
@use '../buttons/index.scss' as *;
|
|
10
|
-
@use '../dates-divide/index.scss' as *;
|
|
11
|
-
@use '../dates-picker/index.scss' as *;
|
|
12
|
-
@use '../edit-float/index.scss' as *;
|
|
13
|
-
@use '../edit/index.scss' as *;
|
|
14
|
-
@use '../history/index.scss' as *;
|
|
15
|
-
@use '../images/index.scss' as *;
|
|
16
|
-
@use '../input-array/index.scss' as *;
|
|
17
|
-
@use '../input-history/index.scss' as *;
|
|
18
|
-
@use '../input-select/index.scss' as *;
|
|
19
|
-
@use '../select-scroll/index.scss' as *;
|
|
20
|
-
@use '../selector/index.scss' as *;
|
|
21
|
-
|
|
22
|
-
@use '../cascaders/index.scss' as *;
|
|
23
|
-
@use '../input-num/index.scss' as *;
|
|
24
|
-
@use '../texts/index.scss' as *;
|
|
25
|
-
|
|
26
|
-
@use '../uploads/index.scss' as *;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
@use '../array/style/index2.scss' as *;
|
|
2
|
-
@use '../checks/style/index2.scss' as *;
|
|
3
|
-
@use '../dates/style/index2.scss' as *;
|
|
4
|
-
@use '../selects/style/index2.scss' as *;
|
|
5
|
-
@use '../inputs/style/index2.scss' as *;
|
|
6
|
-
@use '../labels/style/index2.scss' as *;
|
|
7
|
-
@use '../switchs/style/index2.scss' as *;
|
|
8
|
-
|
|
9
|
-
@use '../buttons/style/index2.scss' as *;
|
|
10
|
-
@use '../dates-divide/style/index2.scss' as *;
|
|
11
|
-
@use '../dates-picker/style/index2.scss' as *;
|
|
12
|
-
@use '../edit-float/style/index2.scss' as *;
|
|
13
|
-
@use '../edit/style/index2.scss' as *;
|
|
14
|
-
@use '../history/style/index2.scss' as *;
|
|
15
|
-
@use '../images/style/index2.scss' as *;
|
|
16
|
-
@use '../input-array/style/index2.scss' as *;
|
|
17
|
-
@use '../input-history/style/index2.scss' as *;
|
|
18
|
-
@use '../input-select/style/index2.scss' as *;
|
|
19
|
-
@use '../select-scroll/style/index2.scss' as *;
|
|
20
|
-
@use '../selector/style/index2.scss' as *;
|
|
21
|
-
|
|
22
|
-
@use '../cascaders/style/index2.scss' as *;
|
|
23
|
-
@use '../input-num/style/index2.scss' as *;
|
|
24
|
-
@use '../texts/style/index2.scss' as *;
|
|
25
|
-
|
|
26
|
-
@use '../uploads/style/index2.scss' as *;
|