@fangzhongya/fang-ui 0.1.26 → 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 +9 -0
- package/dist/components/array/src/index2.cjs +5 -6
- package/dist/components/array/src/index2.js +2 -3
- package/dist/components/audios/index.css +9 -0
- package/dist/components/box/index.css +9 -0
- package/dist/components/box-adjust/index.css +9 -0
- package/dist/components/box-fun/index.cjs +7 -0
- package/dist/components/box-fun/index.d.ts +7 -0
- package/dist/components/box-fun/index.js +7 -0
- package/dist/components/box-fun/src/data.cjs +34 -0
- package/dist/components/box-fun/src/data.d.ts +35 -0
- package/dist/components/box-fun/src/data.js +34 -0
- package/dist/components/box-fun/src/function.cjs +97 -0
- package/dist/components/box-fun/src/function.d.ts +8 -0
- package/dist/components/box-fun/src/function.js +97 -0
- package/dist/components/box-fun/src/index.cjs +5 -0
- package/dist/components/box-fun/src/index.d.ts +2 -0
- package/dist/components/box-fun/src/index.js +5 -0
- package/dist/components/box-local/index.css +9 -0
- package/dist/components/box-mask/index.css +9 -0
- package/dist/components/box-teleport/src/index2.cjs +2 -11
- package/dist/components/box-teleport/src/index2.js +2 -11
- package/dist/components/box-title/index.css +9 -0
- package/dist/components/buttons/index.css +9 -0
- package/dist/components/cascaders/index.css +9 -0
- package/dist/components/checks/index.css +9 -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 +9 -0
- package/dist/components/dates-divide/index.css +9 -0
- package/dist/components/dates-picker/index.css +9 -0
- package/dist/components/dates2/index.css +9 -0
- package/dist/components/dialogs/index.css +9 -0
- package/dist/components/draggable/index.cjs +9 -0
- package/dist/components/draggable/index.d.ts +4 -0
- package/dist/components/draggable/index.js +9 -0
- package/dist/components/draggable/index.scss +5 -0
- package/dist/components/draggable/src/data.cjs +37 -0
- package/dist/components/draggable/src/data.d.ts +60 -0
- package/dist/components/draggable/src/data.js +37 -0
- package/dist/components/draggable/src/index.cjs +4 -0
- package/dist/components/draggable/src/index.js +4 -0
- package/dist/components/draggable/src/index2.cjs +101 -0
- package/dist/components/draggable/src/index2.js +101 -0
- package/dist/components/edit/index.css +9 -0
- package/dist/components/edit-float/index.css +9 -0
- package/dist/components/forms/common/config.cjs +17 -0
- package/dist/components/forms/common/config.d.ts +5 -0
- package/dist/components/forms/common/config.js +17 -0
- package/dist/components/forms/index.css +15 -6
- package/dist/components/forms/index.scss +2 -1
- package/dist/components/forms/src/data.cjs +7 -5
- package/dist/components/forms/src/data.d.ts +7 -4
- package/dist/components/forms/src/data.js +8 -6
- package/dist/components/forms/src/setup.cjs +5 -13
- package/dist/components/forms/src/setup.d.ts +1 -1
- package/dist/components/forms/src/setup.js +5 -13
- package/dist/components/forms/style/index2.scss +3 -1
- package/dist/components/forms-div/index.css +9 -0
- package/dist/components/forms-div/src/index2.cjs +5 -5
- package/dist/components/forms-div/src/index2.js +3 -3
- package/dist/components/forms-drag/src/index2.cjs +12 -12
- package/dist/components/forms-drag/src/index2.js +1 -1
- package/dist/components/{forms-items → forms-item}/index.css +9 -0
- package/dist/components/forms-item/src/index2.cjs +2 -2
- package/dist/components/forms-item/src/index2.js +1 -1
- package/dist/components/forms-item/src/indexts.d.ts +1 -1
- package/dist/components/forms-item/src/label.cjs +17 -30
- package/dist/components/forms-item/src/label.js +17 -30
- package/dist/components/forms-items/src/index2.cjs +9 -9
- package/dist/components/forms-items/src/index2.js +1 -1
- package/dist/components/full-screen/index.css +9 -0
- package/dist/components/global-config/index.d.ts +1 -1
- package/dist/components/global-config/src/index.d.ts +1 -1
- package/dist/components/history/index.css +9 -0
- package/dist/components/icon/index.css +9 -0
- package/dist/components/icon-picker/index.css +9 -0
- package/dist/components/iframe/index.css +9 -0
- package/dist/components/images/index.css +9 -0
- package/dist/components/index.cjs +413 -407
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js +6 -0
- package/dist/components/index.scss +4 -1
- package/dist/components/index2.scss +4 -1
- package/dist/components/input-array/index.css +9 -0
- package/dist/components/input-history/index.css +9 -0
- package/dist/components/input-num/index.css +9 -0
- package/dist/components/input-select/index.css +9 -0
- package/dist/components/inputs/index.css +9 -0
- package/dist/components/keep-com/index.css +9 -0
- package/dist/components/labels/index.css +9 -0
- package/dist/components/list/index.css +9 -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 +9 -0
- package/dist/components/lists/src/index2.cjs +9 -9
- package/dist/components/lists/src/index2.js +9 -9
- package/dist/components/listsp/index.css +9 -0
- package/dist/components/listspd/index.css +9 -0
- package/dist/components/loading/src/data.cjs +13 -0
- package/dist/components/loading/src/data.d.ts +17 -0
- package/dist/components/loading/src/data.js +13 -0
- package/dist/components/loading/src/index.cjs +1 -0
- package/dist/components/loading/src/index.d.ts +0 -4
- package/dist/components/loading/src/index.js +1 -0
- package/dist/components/menus/index.css +9 -0
- package/dist/components/message/src/data.cjs +13 -0
- package/dist/components/message/src/data.d.ts +17 -0
- package/dist/components/message/src/data.js +13 -0
- package/dist/components/message/src/index.cjs +1 -0
- package/dist/components/message/src/index.d.ts +0 -4
- package/dist/components/message/src/index.js +1 -0
- package/dist/components/message-box/src/data.cjs +13 -0
- package/dist/components/message-box/src/data.d.ts +17 -0
- package/dist/components/message-box/src/data.js +13 -0
- package/dist/components/message-box/src/index.cjs +1 -0
- package/dist/components/message-box/src/index.d.ts +0 -4
- package/dist/components/message-box/src/index.js +1 -0
- package/dist/components/no-data/index.css +9 -0
- package/dist/components/page/index.css +15 -6
- package/dist/components/page/src/set-column2.cjs +2 -2
- package/dist/components/page/src/set-column2.js +1 -1
- package/dist/components/paging/index.css +9 -0
- package/dist/components/popup/index.css +9 -0
- package/dist/components/retract/index.css +9 -0
- package/dist/components/right-key/index.css +9 -0
- package/dist/components/scss/common.scss +9 -0
- package/dist/components/seamless-scroll/index.css +9 -0
- package/dist/components/select-scroll/index.css +9 -0
- package/dist/components/selector/index.css +9 -0
- package/dist/components/selects/index.css +9 -0
- package/dist/components/sliders/index.css +9 -0
- package/dist/components/switchs/index.css +9 -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 +123 -52
- package/dist/components/tables/common/pagin.d.ts +40 -9
- package/dist/components/tables/common/pagin.js +123 -52
- package/dist/components/tables/index.css +9 -0
- package/dist/components/tables/src/column.cjs +23 -22
- package/dist/components/tables/src/column.d.ts +3 -0
- package/dist/components/tables/src/column.js +15 -14
- package/dist/components/tables/src/data.cjs +15 -0
- package/dist/components/tables/src/data.d.ts +14 -1
- package/dist/components/tables/src/data.js +15 -0
- package/dist/components/tables/src/index2.cjs +29 -10
- package/dist/components/tables/src/index2.js +23 -4
- package/dist/components/tablesp/index.css +9 -0
- package/dist/components/tablesp/src/index2.cjs +9 -5
- package/dist/components/tablesp/src/index2.js +9 -5
- package/dist/components/tablespd/index.css +9 -0
- package/dist/components/tabless/index.css +9 -0
- package/dist/components/tablesv/index.css +9 -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 +15 -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 +9 -0
- package/dist/components/videos/index.css +9 -0
- package/dist/components/window/index.css +9 -0
- package/dist/css/array.css +9 -0
- package/dist/css/audios.css +9 -0
- package/dist/css/box-adjust.css +9 -0
- package/dist/css/box-local.css +9 -0
- package/dist/css/box-mask.css +9 -0
- package/dist/css/box-title.css +9 -0
- package/dist/css/box.css +9 -0
- package/dist/css/buttons.css +9 -0
- package/dist/css/cascaders.css +9 -0
- package/dist/css/checks.css +9 -0
- package/dist/css/dates-divide.css +9 -0
- package/dist/css/dates-picker.css +9 -0
- package/dist/css/dates.css +9 -0
- package/dist/css/dates2.css +9 -0
- package/dist/css/dialogs.css +9 -0
- package/dist/css/edit-float.css +9 -0
- package/dist/css/edit.css +9 -0
- package/dist/css/forms-div.css +9 -0
- package/dist/css/{forms-items.css → forms-item.css} +9 -0
- package/dist/css/forms.css +15 -6
- package/dist/css/full-screen.css +9 -0
- package/dist/css/history.css +9 -0
- package/dist/css/icon-picker.css +9 -0
- package/dist/css/icon.css +9 -0
- package/dist/css/iframe.css +9 -0
- package/dist/css/images.css +9 -0
- package/dist/css/index.css +71 -6
- package/dist/css/input-array.css +9 -0
- package/dist/css/input-history.css +9 -0
- package/dist/css/input-num.css +9 -0
- package/dist/css/input-select.css +9 -0
- package/dist/css/inputs.css +9 -0
- package/dist/css/keep-com.css +9 -0
- package/dist/css/labels.css +9 -0
- package/dist/css/list.css +9 -0
- package/dist/css/lists.css +9 -0
- package/dist/css/listsp.css +9 -0
- package/dist/css/listspd.css +9 -0
- package/dist/css/menus.css +9 -0
- package/dist/css/no-data.css +9 -0
- package/dist/css/page.css +15 -6
- package/dist/css/paging.css +9 -0
- package/dist/css/popup.css +9 -0
- package/dist/css/retract.css +9 -0
- package/dist/css/right-key.css +9 -0
- package/dist/css/seamless-scroll.css +9 -0
- package/dist/css/select-scroll.css +9 -0
- package/dist/css/selector.css +9 -0
- package/dist/css/selects.css +9 -0
- package/dist/css/sliders.css +9 -0
- package/dist/css/switchs.css +9 -0
- package/dist/css/tables.css +9 -0
- package/dist/css/tablesp.css +9 -0
- package/dist/css/tablespd.css +9 -0
- package/dist/css/tabless.css +9 -0
- package/dist/css/tablesv.css +9 -0
- package/dist/css/tablesvp.css +15 -0
- package/dist/css/tablesvpd.css +157 -0
- package/dist/css/uploads.css +9 -0
- package/dist/css/videos.css +9 -0
- package/dist/css/window.css +9 -0
- package/dist/expand/{chunk-2L4PC7LZ.cjs → chunk-3HP2ZDNG.cjs} +6 -1
- package/dist/expand/{chunk-RBGCE6BS.js → chunk-7C25SBCF.js} +6 -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/hooks/props-default/index.cjs +0 -12
- package/dist/hooks/props-default/index.d.ts +1 -1
- package/dist/hooks/props-default/index.js +0 -12
- package/dist/icons/index.json +1 -1
- package/dist/index.cjs +437 -431
- package/dist/index.css +71 -6
- package/dist/index.js +6 -0
- package/dist/type.d.ts +10 -5
- package/dist/utils/vues/getBoxDom.cjs +22 -0
- package/dist/utils/vues/getBoxDom.d.ts +1 -0
- package/dist/utils/vues/getBoxDom.js +22 -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 +14 -15
- 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,3 +1,4 @@
|
|
|
1
|
+
export * from './draggable/index';
|
|
1
2
|
export * from './button/index';
|
|
2
3
|
export * from './card/index';
|
|
3
4
|
export * from './color-picker/index';
|
|
@@ -65,6 +66,7 @@ export * from './forms-item/index';
|
|
|
65
66
|
export * from './forms-items/index';
|
|
66
67
|
export * from './forms/index';
|
|
67
68
|
export * from './box-adjust/index';
|
|
69
|
+
export * from './box-fun/index';
|
|
68
70
|
export * from './box-local/index';
|
|
69
71
|
export * from './box-mask/index';
|
|
70
72
|
export * from './box-teleport/index';
|
|
@@ -134,3 +136,4 @@ export * from './tablespd/index';
|
|
|
134
136
|
export * from './tabless/index';
|
|
135
137
|
export * from './tablesv/index';
|
|
136
138
|
export * from './tablesvp/index';
|
|
139
|
+
export * from './tablesvpd/index';
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* empty css */
|
|
2
|
+
import { Draggable } from "./draggable/index.js";
|
|
2
3
|
import { Button } from "./button/index.js";
|
|
3
4
|
import { Card } from "./card/index.js";
|
|
4
5
|
import { ColorPicker } from "./color-picker/index.js";
|
|
@@ -66,6 +67,7 @@ import { FormsItem } from "./forms-item/index.js";
|
|
|
66
67
|
import { FormsItems } from "./forms-items/index.js";
|
|
67
68
|
import { Forms } from "./forms/index.js";
|
|
68
69
|
import { BoxAdjust } from "./box-adjust/index.js";
|
|
70
|
+
import { BoxFun } from "./box-fun/index.js";
|
|
69
71
|
import { BoxLocal } from "./box-local/index.js";
|
|
70
72
|
import { BoxMask } from "./box-mask/index.js";
|
|
71
73
|
import { BoxTeleport } from "./box-teleport/index.js";
|
|
@@ -135,6 +137,7 @@ import { Tablespd } from "./tablespd/index.js";
|
|
|
135
137
|
import { Tabless } from "./tabless/index.js";
|
|
136
138
|
import { Tablesv } from "./tablesv/index.js";
|
|
137
139
|
import { Tablesvp } from "./tablesvp/index.js";
|
|
140
|
+
import { Tablesvpd } from "./tablesvpd/index.js";
|
|
138
141
|
export * from "element-plus/es/components/button/index";
|
|
139
142
|
export * from "element-plus/es/components/card/index";
|
|
140
143
|
export * from "element-plus/es/components/color-picker/index";
|
|
@@ -187,6 +190,7 @@ export {
|
|
|
187
190
|
Autocomplete,
|
|
188
191
|
Box,
|
|
189
192
|
BoxAdjust,
|
|
193
|
+
BoxFun,
|
|
190
194
|
BoxLocal,
|
|
191
195
|
BoxMask,
|
|
192
196
|
BoxTeleport,
|
|
@@ -217,6 +221,7 @@ export {
|
|
|
217
221
|
Dialog,
|
|
218
222
|
Dialogs,
|
|
219
223
|
Divider,
|
|
224
|
+
Draggable,
|
|
220
225
|
Drawer,
|
|
221
226
|
Dropdown,
|
|
222
227
|
DropdownItem,
|
|
@@ -301,6 +306,7 @@ export {
|
|
|
301
306
|
Tabless,
|
|
302
307
|
Tablesv,
|
|
303
308
|
Tablesvp,
|
|
309
|
+
Tablesvpd,
|
|
304
310
|
Tabs,
|
|
305
311
|
Tag,
|
|
306
312
|
Text,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use './draggable/index.scss' as *;
|
|
1
2
|
@use './button/index.scss' as *;
|
|
2
3
|
@use './card/index.scss' as *;
|
|
3
4
|
@use './color-picker/index.scss' as *;
|
|
@@ -119,4 +120,6 @@
|
|
|
119
120
|
@use './tablesp/index.scss' as *;
|
|
120
121
|
@use './tablespd/index.scss' as *;
|
|
121
122
|
@use './tabless/index.scss' as *;
|
|
122
|
-
@use './tablesv/index.scss' as *;
|
|
123
|
+
@use './tablesv/index.scss' as *;
|
|
124
|
+
@use './tablesvp/index.scss' as *;
|
|
125
|
+
@use './tablesvpd/index.scss' as *;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use './draggable/style/index.scss' as *;
|
|
1
2
|
@use './button/style/index2.scss' as *;
|
|
2
3
|
@use './card/style/index2.scss' as *;
|
|
3
4
|
@use './color-picker/style/index2.scss' as *;
|
|
@@ -119,4 +120,6 @@
|
|
|
119
120
|
@use './tablesp/style/index2.scss' as *;
|
|
120
121
|
@use './tablespd/style/index2.scss' as *;
|
|
121
122
|
@use './tabless/style/index2.scss' as *;
|
|
122
|
-
@use './tablesv/style/index2.scss' as *;
|
|
123
|
+
@use './tablesv/style/index2.scss' as *;
|
|
124
|
+
@use './tablesvp/style/index2.scss' as *;
|
|
125
|
+
@use './tablesvpd/style/index2.scss' as *;
|
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
--g-main-bg: var(--bg-color-page);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
.com-footer {
|
|
16
|
+
border-top: 1px solid var(--border);
|
|
17
|
+
padding: 20px 20px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.com-lable-array {
|
|
21
|
+
line-height: 18px;
|
|
22
|
+
}
|
|
23
|
+
|
|
15
24
|
.input-select-select-icon {
|
|
16
25
|
margin-left: 8px;
|
|
17
26
|
display: inline-flex;
|
|
@@ -13,6 +13,15 @@
|
|
|
13
13
|
--g-main-bg: var(--bg-color-page);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
+
.com-footer {
|
|
17
|
+
border-top: 1px solid var(--border);
|
|
18
|
+
padding: 20px 20px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.com-lable-array {
|
|
22
|
+
line-height: 18px;
|
|
23
|
+
}
|
|
24
|
+
|
|
16
25
|
.list-div .list-table {
|
|
17
26
|
width: 100%;
|
|
18
27
|
height: 100%;
|
|
@@ -4,8 +4,8 @@ const vue = require("vue");
|
|
|
4
4
|
const util = require("./util.cjs");
|
|
5
5
|
const css = require("../../common/css.cjs");
|
|
6
6
|
const use = require("../../common/use.cjs");
|
|
7
|
-
const
|
|
8
|
-
const index$
|
|
7
|
+
const index$1 = require("../../../hooks/compons/index.cjs");
|
|
8
|
+
const index$2 = require("../../../hooks/cssname/index.cjs");
|
|
9
9
|
const tooltip = require("../../tables/common/tooltip.cjs");
|
|
10
10
|
const index = require("../../../hooks/props-default/index.cjs");
|
|
11
11
|
const data = require("./data.cjs");
|
|
@@ -23,8 +23,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
23
23
|
setup(prs, { emit, slots }) {
|
|
24
24
|
const props = index.usePropsDefault(data.name, prs, data.dataProps);
|
|
25
25
|
index.viewProps(props, data.name);
|
|
26
|
-
const compons
|
|
27
|
-
const cs = index$
|
|
26
|
+
const compons = index$1.useCompons(data.name, props);
|
|
27
|
+
const cs = index$2.useCssName(data.name);
|
|
28
28
|
const refDom = vue.ref();
|
|
29
29
|
const isfocus = vue.ref(false);
|
|
30
30
|
const rowObj = vue.shallowRef();
|
|
@@ -179,7 +179,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
179
179
|
util.setLabel(
|
|
180
180
|
obj,
|
|
181
181
|
props,
|
|
182
|
-
compons
|
|
182
|
+
compons,
|
|
183
183
|
emit,
|
|
184
184
|
slots,
|
|
185
185
|
isComponSelected,
|
|
@@ -235,7 +235,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
235
235
|
obj,
|
|
236
236
|
props.value,
|
|
237
237
|
props,
|
|
238
|
-
compons
|
|
238
|
+
compons,
|
|
239
239
|
emit,
|
|
240
240
|
slots,
|
|
241
241
|
isComponSelected,
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, shallowRef, computed, h, onMounted } from "vue";
|
|
|
2
2
|
import { setLabel, setSslot } from "./util.js";
|
|
3
3
|
import { setStyles } from "../../common/css.js";
|
|
4
4
|
import { useObjComponSelected, useHide } from "../../common/use.js";
|
|
5
|
-
import { useCompons } from "
|
|
5
|
+
import { useCompons } from "../../../hooks/compons/index.js";
|
|
6
6
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
7
7
|
import { hideTooltip, showTooltip } from "../../tables/common/tooltip.js";
|
|
8
8
|
import { usePropsDefault, viewProps, getProps } from "../../../hooks/props-default/index.js";
|
|
@@ -21,7 +21,7 @@ const _sfc_main = defineComponent({
|
|
|
21
21
|
setup(prs, { emit, slots }) {
|
|
22
22
|
const props = usePropsDefault(name, prs, dataProps);
|
|
23
23
|
viewProps(props, name);
|
|
24
|
-
const compons = useCompons(
|
|
24
|
+
const compons = useCompons(name, props);
|
|
25
25
|
const cs = useCssName(name);
|
|
26
26
|
const refDom = ref();
|
|
27
27
|
const isfocus = ref(false);
|
|
@@ -189,12 +189,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
189
189
|
}, () => [
|
|
190
190
|
vue.createVNode(vue.unref(index$4.Card), null, vue.createSlots({
|
|
191
191
|
default: vue.withCtx(() => [
|
|
192
|
-
vue.createVNode(vue.unref(index$5.List),
|
|
192
|
+
vue.createVNode(vue.unref(index$5.List), {
|
|
193
193
|
value: item,
|
|
194
194
|
list: setListValue(dataList.value, index2),
|
|
195
195
|
options: vue.unref(props).options,
|
|
196
196
|
compons: vue.unref(props).compons
|
|
197
|
-
}
|
|
197
|
+
}, vue.createSlots({ _: 2 }, [
|
|
198
198
|
vue.renderList(Object.keys(vue.unref(slots)).filter(
|
|
199
199
|
(v) => !["no-data"].includes(v)
|
|
200
200
|
), (k) => {
|
|
@@ -205,19 +205,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
205
205
|
])
|
|
206
206
|
};
|
|
207
207
|
})
|
|
208
|
-
]),
|
|
208
|
+
]), 1032, ["value", "list", "options", "compons"])
|
|
209
209
|
]),
|
|
210
210
|
_: 2
|
|
211
211
|
}, [
|
|
212
212
|
header.value.length > 0 ? {
|
|
213
213
|
name: "header",
|
|
214
214
|
fn: vue.withCtx(() => [
|
|
215
|
-
vue.createVNode(vue.unref(index$5.List),
|
|
215
|
+
vue.createVNode(vue.unref(index$5.List), {
|
|
216
216
|
value: item,
|
|
217
217
|
list: setListValue(header.value, index2),
|
|
218
218
|
options: vue.unref(props).options,
|
|
219
219
|
compons: vue.unref(props).compons
|
|
220
|
-
}
|
|
220
|
+
}, vue.createSlots({ _: 2 }, [
|
|
221
221
|
vue.renderList(Object.keys(vue.unref(slots)).filter(
|
|
222
222
|
(v) => !["no-data"].includes(v)
|
|
223
223
|
), (k) => {
|
|
@@ -228,19 +228,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
228
228
|
])
|
|
229
229
|
};
|
|
230
230
|
})
|
|
231
|
-
]),
|
|
231
|
+
]), 1032, ["value", "list", "options", "compons"])
|
|
232
232
|
]),
|
|
233
233
|
key: "0"
|
|
234
234
|
} : void 0,
|
|
235
235
|
footer.value.length > 0 ? {
|
|
236
236
|
name: "footer",
|
|
237
237
|
fn: vue.withCtx(() => [
|
|
238
|
-
vue.createVNode(vue.unref(index$5.List),
|
|
238
|
+
vue.createVNode(vue.unref(index$5.List), {
|
|
239
239
|
value: item,
|
|
240
240
|
list: setListValue(footer.value, index2),
|
|
241
241
|
options: vue.unref(props).options,
|
|
242
242
|
compons: vue.unref(props).compons
|
|
243
|
-
}
|
|
243
|
+
}, vue.createSlots({ _: 2 }, [
|
|
244
244
|
vue.renderList(Object.keys(vue.unref(slots)).filter(
|
|
245
245
|
(v) => !["no-data"].includes(v)
|
|
246
246
|
), (k) => {
|
|
@@ -251,7 +251,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
251
251
|
])
|
|
252
252
|
};
|
|
253
253
|
})
|
|
254
|
-
]),
|
|
254
|
+
]), 1032, ["value", "list", "options", "compons"])
|
|
255
255
|
]),
|
|
256
256
|
key: "1"
|
|
257
257
|
} : void 0
|
|
@@ -187,12 +187,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
187
187
|
}, () => [
|
|
188
188
|
createVNode(unref(Card), null, createSlots({
|
|
189
189
|
default: withCtx(() => [
|
|
190
|
-
createVNode(unref(List),
|
|
190
|
+
createVNode(unref(List), {
|
|
191
191
|
value: item,
|
|
192
192
|
list: setListValue(dataList.value, index),
|
|
193
193
|
options: unref(props).options,
|
|
194
194
|
compons: unref(props).compons
|
|
195
|
-
}
|
|
195
|
+
}, createSlots({ _: 2 }, [
|
|
196
196
|
renderList(Object.keys(unref(slots)).filter(
|
|
197
197
|
(v) => !["no-data"].includes(v)
|
|
198
198
|
), (k) => {
|
|
@@ -203,19 +203,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
203
203
|
])
|
|
204
204
|
};
|
|
205
205
|
})
|
|
206
|
-
]),
|
|
206
|
+
]), 1032, ["value", "list", "options", "compons"])
|
|
207
207
|
]),
|
|
208
208
|
_: 2
|
|
209
209
|
}, [
|
|
210
210
|
header.value.length > 0 ? {
|
|
211
211
|
name: "header",
|
|
212
212
|
fn: withCtx(() => [
|
|
213
|
-
createVNode(unref(List),
|
|
213
|
+
createVNode(unref(List), {
|
|
214
214
|
value: item,
|
|
215
215
|
list: setListValue(header.value, index),
|
|
216
216
|
options: unref(props).options,
|
|
217
217
|
compons: unref(props).compons
|
|
218
|
-
}
|
|
218
|
+
}, createSlots({ _: 2 }, [
|
|
219
219
|
renderList(Object.keys(unref(slots)).filter(
|
|
220
220
|
(v) => !["no-data"].includes(v)
|
|
221
221
|
), (k) => {
|
|
@@ -226,19 +226,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
226
226
|
])
|
|
227
227
|
};
|
|
228
228
|
})
|
|
229
|
-
]),
|
|
229
|
+
]), 1032, ["value", "list", "options", "compons"])
|
|
230
230
|
]),
|
|
231
231
|
key: "0"
|
|
232
232
|
} : void 0,
|
|
233
233
|
footer.value.length > 0 ? {
|
|
234
234
|
name: "footer",
|
|
235
235
|
fn: withCtx(() => [
|
|
236
|
-
createVNode(unref(List),
|
|
236
|
+
createVNode(unref(List), {
|
|
237
237
|
value: item,
|
|
238
238
|
list: setListValue(footer.value, index),
|
|
239
239
|
options: unref(props).options,
|
|
240
240
|
compons: unref(props).compons
|
|
241
|
-
}
|
|
241
|
+
}, createSlots({ _: 2 }, [
|
|
242
242
|
renderList(Object.keys(unref(slots)).filter(
|
|
243
243
|
(v) => !["no-data"].includes(v)
|
|
244
244
|
), (k) => {
|
|
@@ -249,7 +249,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
249
249
|
])
|
|
250
250
|
};
|
|
251
251
|
})
|
|
252
|
-
]),
|
|
252
|
+
]), 1032, ["value", "list", "options", "compons"])
|
|
253
253
|
]),
|
|
254
254
|
key: "1"
|
|
255
255
|
} : void 0
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
|
+
const name = "loading";
|
|
5
|
+
const dataProps = buildProps.buildProps({});
|
|
6
|
+
const dataEmits = [];
|
|
7
|
+
const dataSlot = {};
|
|
8
|
+
const dataExpose = { name };
|
|
9
|
+
exports.dataEmits = dataEmits;
|
|
10
|
+
exports.dataExpose = dataExpose;
|
|
11
|
+
exports.dataProps = dataProps;
|
|
12
|
+
exports.dataSlot = dataSlot;
|
|
13
|
+
exports.name = name;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ExtractPublicPropTypes } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* @title {h3} Loading 加载
|
|
4
|
+
* @text 目前完全继承 element-plus 中 el-loading
|
|
5
|
+
*/
|
|
6
|
+
export declare const name = "loading";
|
|
7
|
+
export declare const dataProps: {};
|
|
8
|
+
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
9
|
+
export declare const dataEmits: never[];
|
|
10
|
+
export type DataEmits = typeof dataEmits;
|
|
11
|
+
export declare const dataSlot: {};
|
|
12
|
+
/**
|
|
13
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
14
|
+
*/
|
|
15
|
+
export declare const dataExpose: {
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { buildProps } from "../../../utils/vues/buildProps.js";
|
|
2
|
+
const name = "loading";
|
|
3
|
+
const dataProps = buildProps({});
|
|
4
|
+
const dataEmits = [];
|
|
5
|
+
const dataSlot = {};
|
|
6
|
+
const dataExpose = { name };
|
|
7
|
+
export {
|
|
8
|
+
dataEmits,
|
|
9
|
+
dataExpose,
|
|
10
|
+
dataProps,
|
|
11
|
+
dataSlot,
|
|
12
|
+
name
|
|
13
|
+
};
|
|
@@ -12,6 +12,15 @@
|
|
|
12
12
|
--g-main-bg: var(--bg-color-page);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
.com-footer {
|
|
16
|
+
border-top: 1px solid var(--border);
|
|
17
|
+
padding: 20px 20px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.com-lable-array {
|
|
21
|
+
line-height: 18px;
|
|
22
|
+
}
|
|
23
|
+
|
|
15
24
|
.menus .menu-li-item {
|
|
16
25
|
display: flex;
|
|
17
26
|
align-items: center;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
|
+
const name = "message";
|
|
5
|
+
const dataProps = buildProps.buildProps({});
|
|
6
|
+
const dataEmits = [];
|
|
7
|
+
const dataSlot = {};
|
|
8
|
+
const dataExpose = { name };
|
|
9
|
+
exports.dataEmits = dataEmits;
|
|
10
|
+
exports.dataExpose = dataExpose;
|
|
11
|
+
exports.dataProps = dataProps;
|
|
12
|
+
exports.dataSlot = dataSlot;
|
|
13
|
+
exports.name = name;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ExtractPublicPropTypes } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* @title {h3} Message 消息提示
|
|
4
|
+
* @text 目前完全继承 element-plus 中 el-message
|
|
5
|
+
*/
|
|
6
|
+
export declare const name = "message";
|
|
7
|
+
export declare const dataProps: {};
|
|
8
|
+
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
9
|
+
export declare const dataEmits: never[];
|
|
10
|
+
export type DataEmits = typeof dataEmits;
|
|
11
|
+
export declare const dataSlot: {};
|
|
12
|
+
/**
|
|
13
|
+
* @expose { Element } refEl 获取当前组件在element-plus中暴露的方法
|
|
14
|
+
*/
|
|
15
|
+
export declare const dataExpose: {
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { buildProps } from "../../../utils/vues/buildProps.js";
|
|
2
|
+
const name = "message";
|
|
3
|
+
const dataProps = buildProps({});
|
|
4
|
+
const dataEmits = [];
|
|
5
|
+
const dataSlot = {};
|
|
6
|
+
const dataExpose = { name };
|
|
7
|
+
export {
|
|
8
|
+
dataEmits,
|
|
9
|
+
dataExpose,
|
|
10
|
+
dataProps,
|
|
11
|
+
dataSlot,
|
|
12
|
+
name
|
|
13
|
+
};
|